[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#72140: Setting up libraries too slow



nveber@primusolutions.net wrote:
> 
>        o      Using  the  environment  variable   LD_LIBRARY_PATH
>               (LD_AOUT_LIBRARY_PATH  for a.out programs).  Except
>               if the executable is  a  setuid/setgid  binary,  in
>               which case it is ignored.

On our university's Solaris systems, users have to set a library path
to get some software running correctly. Though I sometimes had the
impression that LD_LIBRARY_PATH didn't work as expected on Linux systems.
In Debian system, the LD_LIBRARY_PATH doesn't seem to be used much
though we do make use of preload path.

> It would be sufficient for a postinst script to simply set the
> LD_LIBRARY_PATH, any libraries that might be needed will be found even if
> ldconfig wasnt run:

Agreed.

> I think setting one envoromnment variable is slightly faster than running
> ldconfig :)
> 
> Of course the cache can be updated eventually (at the end?) in order to
> imporove performance..

Implementing these would close the bug.


-- 
Eray (exa) Ozkural
Comp. Sci. Dept., Bilkent University, Ankara
e-mail: erayo@cs.bilkent.edu.tr
www: http://www.cs.bilkent.edu.tr/~erayo



Reply to: