This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
Linking problem with glibc 2.2
- To: glibc-linux at ricardo dot ecn dot wfu dot edu
- Subject: Linking problem with glibc 2.2
- From: Count0 <count0 at linuxfreak dot com>
- Date: Wed, 22 Nov 2000 21:09:10 -0400
- References: <CA256953.00373716.00@d73mta05.au.ibm.com>
- Reply-To: glibc-linux at ricardo dot ecn dot wfu dot edu
Hello,
I have compiled and installed glibc 2.2 without any problems. Everything in
the system runned fine. But when I tried to compile and link programs with
libraries compiled with the previous glibc (2.1.3), I got undefined references
such as
/usr/X11/lib/libX11.so: undefined reference to `shmctl@@GLIBC_2.0'
The references always point to 'GLIBC_2.0' which is weird, since I linked it
(the library) with glibc 2.1.3.
Why is this happening ? Isn't glibc 2.2 binary compatible with 2.1.3 ? It
seems so, since all programs RUN just fine !
I'm quite puzzled, and I really don't feel like recompiling all the libraries
in my system... Please help !
My system: (Slackware) Linux 2.2.17, previous glibc: 2.1.3, gcc 2.95.2
compile options: ./configure --prefix=/usr --enable-add-ons
--enable-kernel=2.2.7
Ps. Where can I get ldconfig without the 'Can't stat .2' bug ?
--
-Count Zero-
"On receiving an interrupt,
decrement the counter to zero"