On Fri, 9 Feb 2001, Jonathan Wilson wrote:

> Howdy,
>
> I'm trying to install some stuff that references the system's lib
> path. It states that common paths are $LD_LIBRARY_PATH and $LIBPATH
> but I can't seem to find what to echo. I do know that those settings
> are in /etc/ld.so.conf, but what variable is it stored in?
>
> TIA
>
> ----------------------------------------------------
> Jonathan Wilson
> System Administrator
>
It doesn't look like the the path is in a variable.  According to the
man page for ld.so, it looks for the path is several places:

       The necessary dynamically linked libraries  (DLL's)  which
       the  executable  requires to complete it's linking process
       are searched for in the following order

       o      Using        the        environment        variable
              LD_AOUT_LIBRARY_PATH.   Except if the executable is
              a  setuid/setgid  binary,  in  which  case  it   is
              ignored.

       o      From the cache file /etc/ld.so.cache which contains
              a compiled list of candidate  libraries  previously
              found in the augmented library path.

       o      In the default path /usr/lib, and then /lib.


If I am reading this correctly, you don't need a LD_AOUT_LIBRARY_PATH
variable.  And if you are executing a setuid/setgid binary, it is
ignored even if it is present.

Not what you wanted to hear...
Mikkel
-- 

    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to