Bug#611911: /lib64/libpthread.so.0: could not read symbols: Invalid operation
Package: g++-4.5
Version: 4.5.2-2
Severity: normal
Hi,
I installed 4.5 on testing to work around an issue in 4.4. But I hit the following error:
$ make
Linking CXX executable xwws
/usr/bin/ld: CMakeFiles/xwws.dir/XCC_WOL_Web_Server.cpp.o: undefined reference to symbol 'pthread_getspecific@@GLIBC_2.2.5'
/usr/bin/ld: note: 'pthread_getspecific@@GLIBC_2.2.5' is defined in DSO /lib64/libpthread.so.0 so try adding it to the linker command line
/lib64/libpthread.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [Web Server/xwws] Error 1
make[1]: *** [Web Server/CMakeFiles/xwws.dir/all] Error 2
make: *** [all] Error 2
-- System Information:
Debian Release: 6.0
APT prefers testing
APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages g++-4.5 depends on:
ii gcc-4.5 4.5.2-2 The GNU C compiler
ii gcc-4.5-base 4.5.2-2 The GNU Compiler Collection (base
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libcloog-ppl0 0.15.9-2 the Chunky Loop Generator (runtime
ii libelfg0 0.8.13-1 an ELF object file access library
ii libgmp3c2 2:4.3.2+dfsg-1 Multiprecision arithmetic library
ii libgmpxx4ldbl 2:5.0.1+dfsg-3 Multiprecision arithmetic library
ii libmpc2 0.8.2-1+b1 multiple precision complex floatin
ii libmpfr4 3.0.0-2 multiple precision floating-point
ii libppl-c2 0.10.2-8 Parma Polyhedra Library (C interfa
ii libppl7 0.10.2-8 Parma Polyhedra Library (runtime l
ii libstdc++6-4.5-dev 4.5.2-2 The GNU Standard C++ Library v3 (d
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
g++-4.5 recommends no packages.
Versions of packages g++-4.5 suggests:
pn g++-4.5-multilib <none> (no description available)
pn gcc-4.5-doc <none> (no description available)
pn libstdc++6-4.5-dbg <none> (no description available)
-- no debconf information
Reply to: