This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
__lib_fork symbol
- To: glibc-linux at ricardo dot ecn dot wfu dot edu
- Subject: __lib_fork symbol
- From: Thomas Pasch <Thomas dot Pasch at e-technik dot uni-magdeburg dot de>
- Date: Sat, 18 Dec 1999 12:19:08 +0100
- Organization: IPE, Uni Magdeburg
- Reply-To: glibc-linux at ricardo dot ecn dot wfu dot edu
Well,
perhaps silly. But I can't compile with libpthread with glibc version 2.1.2. Trying
> gcc test.c -lc -lpthread
always leads to
/lib/libpthread.so: undefined reference to `__libc_fork@@GLIBC_2.1.2'
Indeed __libc_fork seems to be defined in /lib/libc.so.6 but not __libc_fork@@GLIBC_2.1.2 (that
is look for by /lib/libpthread.so.0
There is something wrong with symbol versioning? Or with the linker? I've just upgraded
from 2.1.1.
Regards,
Thomas