On 28 May 2018 at 03:42, Konstantin Belousov <kostikbel at gmail.com>
wrote:> On Sun, May 27, 2018 at 12:49:12PM +0000, Antoine Brodin wrote:
[...]>> Hi,
>>
>> This looks normal, from the ldconfig(8) man page:
>>
>> Filenames must conform to the lib*.so.[0-9] pattern in order to be
>> added to the hints file.
> For ELF executable format, ld-elf.so.hints only contains the configured
> library path. Dynamic linker reads the directories specified there, for
> typical loading of the library for normally configured case.
>
> ldconfig -r does the same, but additionally filters the output by the
> lib.*\.so\.[0-9]+ patern. Dynamic linker does not filter and uses the
> name from DT_NEEDED as is.
Thanks for the explanation, guys.
Cheers.
--
Jonathan Chen <jonc at chen.org.nz>