ports/76319: lang/ruby18 needs to add -pthread by default.
Jeremy Messenger
mezz at FreeBSD.org
Sun Jan 16 19:50:19 UTC 2005
>Number: 76319
>Category: ports
>Synopsis: lang/ruby18 needs to add -pthread by default.
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 16 19:50:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Jeremy Messenger
>Release: FreeBSD 4.11-RC2 i386
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 4.11-RC2 FreeBSD 4.11-RC2 #15: Sun Jan 2 11:27:10 GMT 2005 kensmith at freefall.freebsd.org:/c/src/sys/compile/FREEFALL i386
>Description:
ruby-gtk2, ruby-gnome2, wxruby and few other apps don't work by default in
FreeBSD 5.x and 6.x, because ruby needs to be compile with -pthread. The
failure of runtime looks like this:
/libexec/ld-elf.so.1: /usr/local/lib/libgthread-2.0.so.400: Undefined symbol "pthread_getschedparam"
You have been contacted by me several times.
http://lists.freebsd.org/pipermail/cvs-ports/2004-December/053217.html
http://lists.freebsd.org/pipermail/freebsd-ports/2005-January/019352.html
>How-To-Repeat:
Just run ruby-gtk2's example file and you will get the same error as above.
>Fix:
Add -pthread in ruby's LDFLAGS and reinstall it, the problem went away.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list