Compiling binutils-2.14: -dynamic-linker ignored for libraries
Daniel Jacobowitz
drow@mvista.com
Sat Jun 14 19:55:00 GMT 2003
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
More information about the Binutils
mailing list