Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 May 2018 07:23:21 +1200
From:      Jonathan Chen <jonc@chen.org.nz>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        Antoine Brodin <antoine@freebsd.org>, freebsd-stable@freebsd.org
Subject:   Re: ldconfig(8) oddity on 11.2-BETA3?
Message-ID:  <CAJuc1zMHhQjF=jCNLeyNzRYtEDAAYMT%2BX1jX9MV4MyRVU0PsHQ@mail.gmail.com>
In-Reply-To: <20180527154219.GR88128@kib.kiev.ua>
References:  <CAJuc1zPurH94998BhcHGZOqAu04VV3pNFWnXBq-FknpydNWZqQ@mail.gmail.com> <CAALwa8kUTdN1FV8e5d0oOs5O%2BEKZ_ueKjk5UA16%2BH3%2BEt5GrqQ@mail.gmail.com> <20180527154219.GR88128@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On 28 May 2018 at 03:42, Konstantin Belousov <kostikbel@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@chen.org.nz>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJuc1zMHhQjF=jCNLeyNzRYtEDAAYMT%2BX1jX9MV4MyRVU0PsHQ>