Maximilian Karasz <nachtalp / thoraxx.de>:

> 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"

a compilation problem with gtk?  note that most software is written
for linux:  they use -lthreads or the like in the link step, whereas
freebsd needs the -pthread compiler option.  in cases like this,
simply doing "man <unresolved-symbol>" clues you up.

  clemens