cicku / libproxy

Automatically exported from code.google.com/p/libproxy
GNU Lesser General Public License v2.1
1 stars 0 forks source link

perl binding fails to link because of undefined pthread symbols #182

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
perl binding fails to link because of undefined pthread symbols, it should link 
with the pthread library.
Attached patch from Christiaan Welvaart fixes the issue (initially from the 
Mageia distribution).

Linking C shared library ../../../perl/blib/arch/auto/Net/Libproxy.so
CMakeFiles/PLlibproxy.dir/Libproxy.c.o: In function 
`XS_Net__Libproxy__ProxyFactoryPtr_DESTROY':
/home/blino/vc/mageia/packages/cauldron/libproxy/BUILD/libproxy-0.4.10/bindings/
perl/src/Libproxy.c:239: undefined reference to `pthread_getspecific'
/home/blino/vc/mageia/packages/cauldron/libproxy/BUILD/libproxy-0.4.10/bindings/
perl/src/Libproxy.c:239: undefined reference to `pthread_getspecific'
/home/blino/vc/mageia/packages/cauldron/libproxy/BUILD/libproxy-0.4.10/bindings/
perl/src/Libproxy.c:239: undefined reference to `pthread_getspecific'
/home/blino/vc/mageia/packages/cauldron/libproxy/BUILD/libproxy-0.4.10/bindings/
perl/src/Libproxy.c:245: undefined reference to `pthread_getspecific'
/home/blino/vc/mageia/packages/cauldron/libproxy/BUILD/libproxy-0.4.10/bindings/
perl/src/Libproxy.c:246: undefined reference to `pthread_getspecific'
CMakeFiles/PLlibproxy.dir/Libproxy.c.o:/home/blino/vc/mageia/packages/cauldron/l
ibproxy/BUILD/libproxy-0.4.10/bindings/perl/src/Libproxy.c:246: more 
undefined references to `pthread_getspecific' follow
collect2: error: ld returned 1 exit status
make[2]: *** [perl/blib/arch/auto/Net/Libproxy.so] Error 1
make[1]: *** [bindings/perl/src/CMakeFiles/PLlibproxy.dir/all] Error 2

Original issue reported on code.google.com by oliv...@blino.org on 19 Oct 2012 at 9:26

Attachments:

GoogleCodeExporter commented 8 years ago
Submitted in r873.

Original comment by dominiqu...@gmail.com on 14 Feb 2013 at 8:42