Change to DSO-linking semantics of the compiler
Enrico Scholz
enrico.scholz at informatik.tu-chemnitz.de
Wed Jan 13 08:45:16 UTC 2010
Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> writes:
> I have problems to understand the xmlrpc-c build failure
>
> | /usr/bin/ld.bfd: xml-rpc-api2cpp.5842.test: undefined reference to symbol 'pthread_cancel@@GLIBC_2.2.5'
It happens because a library where the program is linked against uses
pthread_* but is not linked against libpthread. There ld fails at the
program but not at the library.
Odd thing (which makes tracking this kind of error difficulty) is that
'ldd' on the library does not report the missing library.
Enrico
More information about the devel
mailing list