This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Compiling binutils-2.14: -dynamic-linker ignored for libraries
- From: Peter Hartlich <peter at hartlich dot com>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Sat, 14 Jun 2003 21:47:58
- Subject: Re: Compiling binutils-2.14: -dynamic-linker ignored for libraries
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