Re: Shared library defines a RPATH
On Sun, Jul 28, 2002 at 05:50:50PM -0300, Henrique de Moraes Holschuh wrote:
> On Sun, 28 Jul 2002, Richard Atterer wrote:
> > On Sun, Jul 28, 2002 at 02:12:01PM -0300, Henrique de Moraes Holschuh wrote:
> > > Still, it breaks cross-compilation (which is not a very important
> > > point for most people, but...),
> > In what way does it break cross-compilation?
> It may point to the wrong place in the target machine,
DT_RPATH must be ignore for shared objects, but not for executables. At
least this is what I gathered from reading the ELF standard.
Have you actually experienced this? I have never tried it, so I don't know.
`Rhubarb is no Egyptian god.' GNU http://www.gnu.org email@example.com
Marcus Brinkmann The Hurd http://www.gnu.org/software/hurd/
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com