[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RUNPATH. (Was: Shared libraries. How are they found?)
From: |
Marcus Brinkmann |
Subject: |
Re: RUNPATH. (Was: Shared libraries. How are they found?) |
Date: |
Wed, 9 Jan 2002 16:53:11 +0100 |
User-agent: |
Mutt/1.3.24i |
On Tue, Jan 08, 2002 at 05:37:15PM +0100, Niels Möller wrote:
> Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de> writes:
>
> > As far as I can see, the exec server just loads and runs the binary. The
> > code to fire up the linker and bring into the shared libraries is compiled
> > into each executables:
> >
> > $ strings /bin/ls | grep ld.so
> > /lib/ld.so
>
> Isn't that string just from the contents of the .interp section of the
> ELF file?
Might very well be the case. At least ld.so is not hard coded in exec
AFAICS.
Marcus
--
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann GNU http://www.gnu.org marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de