This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Linking problem with glibc 2.2




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"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]