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: Daniel Jacobowitz <drow at mvista dot com>
- To: Peter Hartlich <peter at hartlich dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Sat, 14 Jun 2003 15:55:37 -0400
- Subject: Re: Compiling binutils-2.14: -dynamic-linker ignored for libraries
- References: <030614.214758@webmail>
On Sat, Jun 14, 2003 at 09:47:58PM +0000, Peter Hartlich wrote:
> 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?
Presumably... you'll have to wait and see :)
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer