Date: Sun, 16 Jan 2005 19:43:04 GMT From: Jeremy Messenger <mezz@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/76319: lang/ruby18 needs to add -pthread by default. Message-ID: <200501161943.j0GJh4AE028310@freefall.freebsd.org> Resent-Message-ID: <200501161950.j0GJoIqx028415@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501161943.j0GJh4AE028310>