Compiling binutils-2.14: -dynamic-linker ignored for libraries
Peter Hartlich
peter@hartlich.com
Sat Jun 14 19:48:00 GMT 2003
Daniel Jacobowitz wrote:
>> Is there any way to get lib/* to use the right dynamic linker?
> -dynamic-linker sets the value of the .interp section in binaries.
> Libraries don't get one (libc.so.6 is an exception, due to some magic).
> The entry you're seeing above probably has nothing to do with
> -dynamic-linker, and everything to do with -rpath.
>
> Try using objdump -p and readelf; they are much more informative than
> ldd.
Both correctly show RPATH as /pkg/glibc/lib. So, can I be safe that
if someday /pkg/glibc links to e.g. /pkg/glibc-2.3.3, things won't break?
Regards,
Peter Hartlich
More information about the Binutils
mailing list