[ILUG] Library search path

Pádraig Brady P at draigBrady.com
Thu Aug 21 12:10:39 IST 2008


Lars Hecking wrote:
>  SunOS/Solaris' ldd command has a useful "-s" option to display the shared
>  library search path. Is there an equivalent on Linux? Maybe with readelf
>  or objdump?

No direct equivalent it seems.
The following suggests `readelf -d <binary> | grep RPATH`
http://www.eyrie.org/~eagle/notes/rpath.html

Pádraig.



More information about the ILUG mailing list