RUNPATH and $ORIGIN
Peter S. Mazinger
ps.m at gmx.net
Thu Feb 23 17:41:56 UTC 2006
On Thu, 23 Feb 2006, Joakim Tjernlund wrote:
> >
> > On Thu, 23 Feb 2006, Peter S. Mazinger wrote:
> >
> > > > uhh? Does ldso try to load the same lib again?
> > > > Can you post a trace with LD_DEBUG=1?
> > >
> > > LD_DEBUG=1 galeon
> > >
> >
> > another curiousity RPATH not checked...
> > readelf -d /usr/bin/galeon
>
> RPATH is skipped if there is a RUNPATH present. RPATH should
> be removed from ldso since RUNPATH has replaced it. Are there
> still apps/libs that only define RPATH? These should be updated
> to use the newer RUNPATH
>
> Jocke
I think the use of -rpath ... sets both, I haven't seen RPATH != RUNPATH
Peter
--
Peter S. Mazinger <ps dot m at gmx dot net> ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2
More information about the uClibc
mailing list