> -----Original Message-----
> From: Mike Frysinger [mailto:[email protected]] 
> Sent: Friday, September 23, 2011 4:40 PM
> To: [email protected]
> Cc: Filippo ARCIDIACONO
> Subject: Re: Use executable's RPATH in looking up library 
> searching path.
> 
> On Thursday, September 22, 2011 11:39:24 Filippo ARCIDIACONO wrote:
> > When the dynamic linker load and resolve the library 
> dependencies for 
> > an executable, It should use the executable's rpath as 
> searching path 
> > for all his needed libraries.
> 
> i don't see any justification to back up this statement other 
> than "this is what glibc does".  i'm honestly not too 
> concerned by that as there are places already we deviate from 
> glibc behavior by design.  what i do want to know is what the 
> ELF spec says.  could you look that up (i dont have a copy 
> off hand and the LF is down still) ?

The ELF spec says what is the RPATH, but nothing about the dynamic linker
Use the rpath in library search path.
Other references are not so clear. The only reference (apart from glibc
sources)
I found is http://wiki.debian.org/RpathIssue where seems clear to use the
executable's
Rpath as searching path for needed libraries.

> -mike
> 

_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to