This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
Re: //lib/libc.so.6: undefined reference to `_dl_...@GLIBC_2.2'
- To: David Andrew Michael Noelle <dave at straylight dot org>
- Subject: Re: //lib/libc.so.6: undefined reference to `_dl_...@GLIBC_2.2'
- From: Andreas Jaeger <aj at suse dot de>
- Date: 01 Jan 2001 14:19:29 +0100
- Cc: glibc-linux at ricardo dot ecn dot wfu dot edu
- References: <20010101053938.3E94A1011C@straylight.org><u8snn37brr.fsf@gromit.rhein-neckar.de><20010101123716.C75B410120@straylight.org>
- Reply-To: glibc-linux at ricardo dot ecn dot wfu dot edu
>>>>> David Andrew Michael Noelle writes:
>> From: Andreas Jaeger <aj@suse.de>
>> Date: 01 Jan 2001 12:27:36 +0100
>>
>> How did you configure glibc?
> I didn't. I'm currently using the Slackware 7.1 glibc package. I don't
> recall the specific options I used when I did try compiling it myself,
> but it wasn't anything unusual.
But you did gave --prefix=/usr ?
>> gromit:~:[0]$ readelf -a /lib/ld-linux.so.2 |grep _dl_out_of_memory
>> 000165b0 05806 R_386_GLOB_DAT 00014b40 _dl_out_of_memory
>> 88: 00014b40 14 OBJECT GLOBAL DEFAULT 11 _dl_out_of_memory@@GLIBC_2.2
>> 434: 00014b40 14 OBJECT GLOBAL DEFAULT 11 _dl_out_of_memory
> Okay... I get two of those three lines. Is that a problem? If so,
> exactly what should I do about it?
> gauss:~>readelf -a /lib/ld-linux.so.2 |grep _dl_out_of_memory
> 00015fb0 05806 R_386_GLOB_DAT 00014480 _dl_out_of_memory
> 88: 00014480 14 OBJECT GLOBAL DEFAULT 11 _dl_out_of_memory@@GLIBC_2.2
>> Your dynamic linker is broken.
> Thanks for confirming that, but could you please be a little more
> specific? I figured it had *something* to do with the dynamic linker,
> since only libdl is generating these error messages. I'm not getting
> any other unusual undefined references.
libdl is generating those? Why didn't you mention this before? When
does it happen? At link time? Try invoking gcc with -Wl,-v (or
-Wl,-verbose) to check that the correct libdl is included.
> I've reinstalled the Slackware "glibc" and "ldso" packages several times
> and I've compiled them myself at least once each. Can you tell me
> exactly what part of the dynamic linking system could be "broken" in
> such a way as to cause this, and where I can get one that might work
> correctly?
I don't know enough about Slackware to give any judgement about this
but it might be that you have an old libdl, libc, or ld-linux.so lying
around somewhere which gets used instead of the normal version.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj