Bug 135119 - portaudio library needs to link with -lpthread
|
Bug#:
135119
|
Product: Gentoo Linux
|
Version: 2006.0
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: sound@gentoo.org
|
Reported By: h.mth@web.de
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: portaudio library needs to link with -lpthread
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2006-06-01 02:08 0000
|
... otherwise, for example a configure check without LIBS="-lpthread", fails
with undefined references to pthread_* functions.
(Like -lxml2 pulls in -lz automagically.)
Please fix this. Thanks!
*** Bug 135120 has been marked as a duplicate of this bug. ***
Is there any reason not to apply this fix?
I am also intrested in seeing this fixed; I have a software speech synthesizer
that uses portaudio which I want to put in portage, but I can't get it to link
due to this same error. Thanks.
We would also need this soonish as the upcoming version of openoffice is going
to use portaudio from system and suffers from the same problem. As the fix is
trivial enough, could someone please go ahead and commit it?
Can someone who is a maintainer for the sound herd give an update for this?
Thanks much.
This patch to portaudio is necessary for *espeak*-1.16 to compile, otherwise it
moans about pthreads:
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libportaudio.so: undefined
reference to `pthread_create'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libportaudio.so: undefined
reference to `pthread_cancel'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libportaudio.so: undefined
reference to `pthread_kill'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libportaudio.so: undefined
reference to `pthread_join'
This has been fixed in portaudio-18.1-r5. Thanks for your help there.