ldconfig(8) oddity on 11.2-BETA3?
Eugene Grosbein
eugen at grosbein.net
Sun May 27 09:36:24 UTC 2018
27.05.2018 16:26, Eugene Grosbein wrote:
> 27.05.2018 5:29, Jonathan Chen wrote:
>
>> I'm running 11.2-BETA3/amd64 at r334236, and I've noticed that
>> "ldconfig -m" doesn't behave as expected (or perhaps it's my
>> understanding).
>>
>> This is what I'm seeing when building security/nss in a chrooted environment:
>>
>> # ldconfig -r | grep nss
>
> No nss in the search path first.
>
>> # ls /usr/local/lib/nss
>> libcrmf.a libnss3.so libnssutil3.so
>> libssl3.so
>> libfreebl3.so libnssckbi.so libsmime3.so
>> libfreeblpriv3.so libnssdbm3.so libsoftokn3.so
>> # ldconfig -m /usr/local/lib/nss
>
> Search path updated with addition of /usr/local/lib/nss.
>
>> # ldconfig -r | grep nss
>> search directories:
>> /lib:/usr/lib:/usr/local/lib:/usr/local/lib/perl5/5.26/mach/CORE:/usr/local/lib/nss
>
> This assures update.
Hmm, now I see the problem: search path updates but not nss library files in the output.
Does running "ldconfig -im /usr/local/lib/nss" change anything?
Please show output of "ls -ld /usr/local/lib/nss"
More information about the freebsd-stable
mailing list