Binary apps linked against libdl
Christopher Seawood
cls@seawood.org
Thu Apr 22 13:27:00 GMT 1999
On 22 Apr 1999, Andreas Jaeger wrote:
> >>>>> Christopher Seawood writes:
>
> >> > sh: error in loading shared libraries: /usr/glibc2.0/lib/libc.so.6:
> >> > undefined symbol: _dl_global_scope_end
>
> You're mixing /lib/ld-linux.so.2 which is hardcoded into every binary
> with another libdl.so.2 which isn't hardcoded:
Doh! So I am. :-< I'm still confused as to why running the application
explicitly using the glibc2.0 ld-linux.so.2 does not work. From what
you've said and what I pasted before, it appears as though it's looking
for the 2.0.7 libdl but is complaining that the libdl it gets (apparently,
the glibc 2.1.1 one) is missing _dl_global_scope_end.
If db2inst execs /bin/sh (which it expects to be ksh), will ksh also use
the glibc 2.0.7 ld-linux.so.2 or does the environment get reset on the
(presumed) execve() or system()?
- cls
More information about the Libc-alpha
mailing list