[tkunstmann@lycosmail.com] libc/1943: libpthread.so and libdl.so are problematic when a shared library is linked against both of them

Andreas Jaeger aj@suse.de
Thu Nov 30 01:10:00 GMT 2000


We've received the appended bug report.  To me, the solutions looks
like adding -lpthread to the link line for test:
gcc -o test main.o -L. -lx -lpthread

Since main uses pthreads, it has to be linked with -lpthread.

Any other opinions?
Andreas



More information about the Libc-alpha mailing list