From: Laurent Sansonetti Date: 2003-04-04T17:56:15+09:00 Subject: Re: Problem with ruby-gtk2 on FreeBSD Maximilian Karasz wrote: > hi everyone, > > i installed ruby-gtk2 on my laptop running FreeBSD-4.8-RELEASE > yesterday, but it won't work: > > nachtalp@thanatos:~$ irb > irb(main):001:0> require 'gtk2' > /usr/libexec/ld-elf.so.1: /usr/local/lib/libgthread-2.0.so.200: \ > Undefined symbol "pthread_getschedparam" > > does anyone have suggestions or a solution to this problem? Probably > it's a little too OS-specific for this list, but i figured maybe > somebody here had a similar or even the very same problem. > > regards, > > -Maxi Karasz > > I send a pr about this a few days ago [1]. It seems it is a bug in the ruby-gnome2 port, you have to recompile the port using -lc_r instead of -pthread. I still have the hacked version at home, I can send it to you by e-mail if you want. Cheers, -- Laurent [1]: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/50402