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

Bug#72140: Setting up libraries too slow



On Sun, Sep 24, 2000 at 02:24:43PM +0200, Torsten Landschoff wrote:
> 
> a) remove that ldconfig call from the library postinsts
> b) make dpkg call ldconfig if any of /usr/lib, /lib or the dirs in 
> /etc/ld.so.conf has been touched since starting dpkg
> c) demand that postinst which call programs with libs outside 
>    /lib and /usr/lib sets LD_LIBRARY_PATH

c) would be great for the Hurd, which doesn't support ld.so.cache or
ld.so.conf. We can only rely on rpath and LD_LIBRARY_PATH.

So everything that gets Debian closer to both (I know that rpath is
seen as a problem around here, so spare me your flames) would make
the situation better.

Otherwise, users will haveto set LD_LIBRARY_PATH before installing the
package.

I am really in favour of c), even as a suplementary strategy for the
Hurd only (we might have to do that anyway, or use rpath for the Hurd).

Thanks,
Marcus



Reply to: