ports/50402: glib20 port: pthread_getschedparam is missing from libgthread-2.0.so
Laurent Sansonetti
laurent at datarescue.be
Fri Mar 28 18:30:46 UTC 2003
>Number: 50402
>Category: ports
>Synopsis: glib20 port: pthread_getschedparam is missing from libgthread-2.0.so
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Mar 28 10:30:10 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Laurent Sansonetti
>Release: FreeBSD 5.0-RELEASE i386
>Organization:
/
>Environment:
System: FreeBSD natalie 5.0-RELEASE FreeBSD 5.0-RELEASE #1: Wed Mar 19 16:31:59 CET 2003 pinux at natalie:/usr/src/sys/i386/compile/NATALIE i386
The problem seems to exist as well under 4.7-STABLE.
>Description:
The pthread_getschedparam() symbol is missing from the libgthread-2.0.so dynamic library.
The static library (libgthread-2.0.a) contains this symbol, so it seems there is a link issue
somewhere in the glib20 port.
>How-To-Repeat:
Just use any software which load libgthread-2.0.so.
As instance, any ruby-gnome2 example:
# portinstall ruby-gnome2
# cd /usr/local/share/examples/ruby/gnome2/test-gnome
# ruby test-gnome.rb
/usr/libexec/ld-elf.so.1: /usr/local/lib/libgthread-2.0.so.200: Undefined symbol "pthread_getschedparam"
>Fix:
I tried to fix the glib-20 makefile, without success.
Nevertheless, I found a quick-and-dirty workaround: comment calls to pthread_getschedparam()
in gthread-posix.c ;-)
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list