On Tue, Nov 29, 2005 at 11:51:13AM -0800, David Masterson wrote:
>
> True, but isn't LD_LIBRARY_PATH more universal amongst the UNIX systems
> (Solaris, HP-UX, AIX, Linux, etc.)?
>
> David Masterson
LD_LIBRARY_PATH and LD_RUN_PATH serve different purposes.
LD_LIBRARY_PATH is read from the env at run-time by all linked
objects (programs), but not by setuid objects. LD_RUN_PATH is a linker
directive that tells the linker to hard code the run time search path
in the linked object. Sun's and GNU's ld will honor LD_RUN_PATH, but
as far command line swiches go, Sun's ld uses -R<path> and GNU's ld
uses '-rpath'.
Brian
_______________________________________________
Help-cfengine mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-cfengine