|
Home > Archive > Unix administration > May 2004 > difference between SHLIB_PATH, LD_LIBRARY_PATH
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
difference between SHLIB_PATH, LD_LIBRARY_PATH
|
|
| chennakeshava_ramesh@yahoo.co.in 2004-05-12, 7:37 am |
| hi friends,
anyone knows what is the diffence between SHLIB_PATH and
LD_LIBRARY_PATH. and why are are used actually.
In setting one of the unix parameter I am using LD_LIBRARY_PATH, can
any one brief me on what is its function and how actually it is
different from SHLIB_PATH.
regards
RAMESH
| |
| joe durusau 2004-05-12, 8:46 am |
|
"chennakeshava_ramesh@yahoo.co.in" wrote:
> hi friends,
>
> anyone knows what is the diffence between SHLIB_PATH and
> LD_LIBRARY_PATH. and why are are used actually.
>
> In setting one of the unix parameter I am using LD_LIBRARY_PATH, can
> any one brief me on what is its function and how actually it is
> different from SHLIB_PATH.
>
> regards
> RAMESH
The use of either or both is generally derecated.
Speaking only for myself,
Joe Durusau
| |
| Kevin Collins 2004-05-13, 8:34 pm |
| In article <dd47f418.0405120335.25fed596@posting.google.com>,
chennakeshava_ramesh@yahoo.co.in wrote:
> hi friends,
>
> anyone knows what is the diffence between SHLIB_PATH and
> LD_LIBRARY_PATH. and why are are used actually.
>
> In setting one of the unix parameter I am using LD_LIBRARY_PATH, can
> any one brief me on what is its function and how actually it is
> different from SHLIB_PATH.
>
Assuming you are using HP-UX (to my knowledge, the only platform using
SHLIB_PATH), SHLIB_PATH is the OLD method of setting a shared-library search
path and LD_LIBRARY_PATH is the new method (starting in, I think, 11.11) that
other platforms (Solaris, Linux, etc) have always used.
In current versions (from 11.11), both will be check if they are defined, with
LD_LIBRARY_PATH being searched 1st and SHLIB_PATH next.
See 'man dld.sl' for more info...
Kevin
|
|
|
|
|