[lsb-discuss] Packaging

Bastian, Waldo waldo.bastian at intel.com
Fri Oct 27 10:35:59 PDT 2006


>>Does rpath only support absolute paths or is it also possible
>>to use paths relative to the location of the binary? That
>>would make things a lot easier.
>
>the dynamic linker will not deal with non-absolute
>paths for security reasons - you can drop a spoofed
>system library in a non-system location have it
>picked up in preference to the system library if
>realtive paths are allowed.

How is that different from setting LD_LIBRARY_PATH? Note that I'm not
talking about relative to CWD, but relative to binary location.

See http://forum.sun.com/jive/thread.jspa?threadID=98683&tstart=180 for
example.

Cheers,
Waldo




More information about the lsb-discuss mailing list