Eugenio Diaz <[EMAIL PROTECTED]> writes:

> --- Pixel <[EMAIL PROTECTED]> wrote:
> > i've just tested. I thought without calling
> > ldconfig, the binary would fail to
> > load the dynamic library. But it's not true :)      
> > /etc/ld.so.cache is just for speedup.
> 
> Well, ldconfig also updates links and in some cases it
> could cause and executable to not find the library (is
> this right, or am I making this up? he, he)

you're right i just find that pb.
the good(?) solution is to patch those packages missing the link. eg: gpm, fixed
now.

>  
> > i'm going to patch ldconfig so that it just returns
> > $DURING_INSTALL, and see how
> > that goes.
> 
> You lost me here. Could you please explain what you
> mean? I guess you mean ldconfig will only be run when
> the package is installed with the -i? If so, this may
> cause problems, since a lot of people (or scripts for
> that matter) use -U always.

$DURING_INSTALL is an environment variable set during install (in DrakX). It
mainly means: "do not update current environment". This is usefull for post
install script doing too "intelligent" stuff, that should *not* be done during
install. This is also usefull for update-menus and (now) ldconfig

Reply via email to