RE: A 64 bit perl
Apr 05, 2004 14:10 PDT
taken from google groups solaris:
Read the man page again, in particular the entry for -R. LD_RUN_PATH
is an alternative to using -R:
-R path A colon-separated list of directories used to
specify library search directories to the run-
time linker. If present and not null, it is
recorded in the output object file and passed to
the run-time linker. Multiple instances of this
option are concatenated together with each path
separated by a colon.
In short, developers set LD_RUN_PATH when building executables so that
users needn't bother with mucking about with LD_LIBRARY_PATH. Note,
though, that a user LD_LIBRARY_PATH setting will over-ride an
LD_RUN_PATH setting recorded in the executable. So it's still
possible for confusion to reign.
I wasn't aware of LD_RUN_PATH prior to this. fancy thing to know though
I might add.