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

Re: Delayed ldconfig execution in postinst step



Bill Allombert <allomber@math.u-bordeaux.fr> writes:

> On Sat, Mar 18, 2006 at 10:56:14PM +0100, Eduard Bloch wrote:
>> #include <hallo.h>
>> * Eduard Bloch [Sat, Mar 18 2006, 10:52:53PM]:
>> > #include <hallo.h>
>> > * Bill Allombert [Sat, Mar 18 2006, 02:56:27PM]:
>> > > On Sun, Mar 12, 2006 at 01:56:13PM +0100, Eduard Bloch wrote:
>> > > > Hi people,
>> ...
>> > > ld.so manpage imply the opposite.
>> > 
>> > I would not be that sure. Following that manpage from 1998 you have to
>> > set LD_LIBRARY_PATH or have /etc/ld.so.cache. You can test it on any
>> > recent system, deleting ld.so.cache.
>
> Let that be bug #357676.
>
>> I was wrong, it does not work that well, dlopen fails.
>
> Well "man dlopen" do not mention /etc/ld.so.conf either.
>
> Fortunately most libraries are in /lib or /usr/lib, so at least we
> can postpone the ldconfig call for them.
>
> Cheers,

Multiarch moves libs into new dirs and currently they aren't hardcoded
but handled by /lib/ldconfig/XXX links. Not running ldconfig at the
right time will break basicaly everywhere with the new dirs unless
they are hardcoded into ld.so and dlopen again.

MfG
        Goswin



Reply to: