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

Re: shared libraries

martin f krafft <madduck@debian.org> schrieb:

> also sprach Frank Küster <frank@debian.org> [2004.12.08.1026 +0100]:
>> And it is this last step in which the shared library needs to be
>> used, while it is still not installed. How could a linker call
>> help here?
> I can't figure it out right now, but /lib/ld-linux.so can be told
> which libraries to use explicitly. This is better than
> $LD_LIBRARY_PATH because it is more granular.

,---- ld.so(8) ----
|    A whitespace-separated list of additional, user-specified, ELF
|    shared libraries to be loaded before all others.  This can be used
|    to selectively override functions in other shared libraries.  For
|    setuid/setgid ELF binaries, only libraries in the standard search
|    directories that are also setgid will be loaded.

Although we do not want to override only single functions, this might be
a better choice here. I don't know how much this will actually change,
however, since in the directories that would be given to LD_LIBRARY_PATH
there would be only one shared library - the one alternatively specified

Regards, Frank
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer

Reply to: