Undefined symbol "pthread_create"?

Garrett Cooper youshi10 at u.washington.edu
Wed Mar 21 15:05:48 UTC 2007


Laszlo Nagy wrote:
> I updated my ports tree 3 days ago, and did "portupgrade -a" 
> successfuly. I'm trying to play an mp3 file with this command:
> 
> %padsp mpg123 test.mp3
> High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
> Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp.
> Uses code from various people. See 'README' for more!
> THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
> /libexec/ld-elf.so.1: /usr/local/lib/libpulse.so.0: Undefined symbol 
> "pthread_create"
> 
> Can it be that audio/pulseaudio is broken? Looks like a missing 
> dependency or a missing patch ( -lpthread? ) of the source code.
> 
> Thanks,
> 
>   Laszlo

	Did you upgrade your system recently or were compat-v.x packages 
removed? Also, how was pulseaudio installed (package, port, etc)?
	The pthread lib shouldn't be missing because it is a part of the system 
which can be compiled in easily using gcc -lpthread.
-Garrett


More information about the freebsd-questions mailing list