libpthread-dev and the binary package libpthread20 seem to have gone in gutsy; 
but
you might still have them if you upgraded from feisty.

I fell over this problem building rhythmbox and the error I got was:

GThread-ERROR **: file /build/buildd/glib2.0-2.14.1/gthread/gthread-posix.c: 
line 140 (): error 'Function not implemented' during 'pthread_getschedparam 
(pthread_self(), &policy, &sched)'
aborting...
Aborted (core dumped)

and an easily missed warning:

/usr/bin/ld: warning: libpthread.so.0, needed by
/usr/lib/libgnomeui-2.so, may conflict with libpthread.so.20

Just removing libpthread-dev and libpthread20 seems to do the trick - it
looks like it is all in the libc package these days.

-- 
[FEISTY] Problems compiling programs with pthread
https://bugs.launchpad.net/bugs/81169
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to