[Gllug] How do I make sources available to compile against?

Nix nix at esperi.org.uk
Tue Dec 7 13:40:07 UTC 2004


On Mon, 06 Dec 2004, Tethys uttered the following:
> Nix writes:
>>>                    and running ldconfig
>>
>>Necessary whenever a new shared library is installed.
> 
> Didn't we have a thread about this sometime last year and conclude
> that it was better to use DT_RUNPATH instead of ld.so.conf for
> libraries in non-standard locations?

Odd: I still have the opposite opinion (and so do the majority of the
GNU binutils and GNU libc developers, IIRC).

DT_RUNPATH hardwires absolute paths into binaries, which cannot be a
good thing. It's better than DT_RPATH because it is at least searched
after LD_LIBRARY_PATH and /etc/ld.so.conf libraries, but it's
still not a terribly good thing. Nothing that breaks relocation of
binaries is good, IMNSHO.

-- 
`The sword we forged has turned upon us
 Only now, at the end of all things do we see
 The lamp-bearer dies; only the lamp burns on.'
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list