This is the mail archive of the
libc-alpha@cygnus.com
mailing list for the glibc project.
Re: Binary apps linked against libdl
- To: Christopher Seawood <cls@seawood.org>
- Subject: Re: Binary apps linked against libdl
- From: Andreas Jaeger <aj@arthur.rhein-neckar.de>
- Date: 22 Apr 1999 21:12:56 +0200
- Cc: libc-alpha@cygnus.com
- Mail-Copies-To: never
- References: <Pine.LNX.3.95.990422123542.4965E-100000@shell.ncm.com>
>>>>> Christopher Seawood writes:
>> > sh: error in loading shared libraries: /usr/glibc2.0/lib/libc.so.6:
>> > undefined symbol: _dl_global_scope_end
Christopher> I'm pretty sure that this is part of the problem. If libc requires libdl,
Christopher> will it try to load it from the LD_LIBRARY_PATH or use the hardcoded
Christopher> /lib/libdl.so.2? I would assume it'd do the former, but it appears to be
Christopher> doing the latter.
You're mixing /lib/ld-linux.so.2 which is hardcoded into every binary
with another libdl.so.2 which isn't hardcoded:
glibc 2.1 has:
$ nm /lib/ld-linux.so.2 |grep _dl_global_scope_end
but glibc 2.0.7 uses:
$ nm /usr/glibc/glibc-2.0.7/lib/ld-linux.so.2 |grep _dl_global_scope_end
0000b54c D _dl_global_scope_end
Andreas
--
Andreas Jaeger aj@arthur.rhein-neckar.de jaeger@informatik.uni-kl.de
for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de