Missing "-lpthread" in "pkg-config libpulse-simple --libs" ouput

Romain Tartiere romain at blogreen.org
Tue Apr 10 14:17:03 UTC 2007


Hi

I run the musicpd music player for a while now and recently it stopped playing
mp3 files. We tried to figure out what was happening with Mark Reidel, musicpd
maintainer, and discovered that the config log [1] had a lot of

> /usr/local/lib/libpulse.so: undefined reference to `pthread_create'
> /usr/local/lib/libpulse.so: undefined reference to `pthread_equal'
> /usr/local/lib/libpulse.so: undefined reference to `pthread_join'

Adding "-lpthread" to the Libs line of
"/usr/local/libdata/pkgconfig/libpulse-simple.pc" fixes the problem: the
configure script can compile it's code snippets to check everything is okay
(these tests are failling otherwise) and musicpd is compiled with mp3 support.

Is there something wrong here or a workaround to avoid editing files
that will be overwritten on update ?

Regards,
Romain

References:
  1. http://sigabrt.org/musicpd-config.log

-- 
Romain Tartière <romain at blogreen.org>        http://romain.blogreen.org/
pgp: 8DAB A124 0DA4 7024 F82A  E748 D8E9 A33F FF56 FF43 (ID: 0xFF56FF43)
(plain text =non-HTML= PGP/GPG encrypted/signed e-mail much appreciated)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20070410/ead1cfed/attachment.pgp


More information about the freebsd-gnome mailing list