Date: Sun, 27 May 2018 16:36:04 +0700 From: Eugene Grosbein <eugen@grosbein.net> To: Jonathan Chen <jonc@chen.org.nz>, freebsd-stable@freebsd.org Subject: Re: ldconfig(8) oddity on 11.2-BETA3? Message-ID: <5B0A7C04.7080009@grosbein.net> In-Reply-To: <5B0A79DA.8060800@grosbein.net> References: <CAJuc1zPurH94998BhcHGZOqAu04VV3pNFWnXBq-FknpydNWZqQ@mail.gmail.com> <5B0A79DA.8060800@grosbein.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5B0A7C04.7080009>