Date: Sun, 30 Dec 2012 06:54:38 -1100 From: Jan Beich <jbeich@tormail.org> To: Robert Huff <roberthuff@rcn.com> Cc: gecko@freebsd.org Subject: Re: installed nss-3.14 not found when building firefox/libxul/etc. Message-ID: <1TpN68-000J7N-8z@internal.tormail.org> In-Reply-To: <20704.23938.348195.393163@jerusalem.litteratus.org> (Robert Huff's message of "Sun, 30 Dec 2012 10:28:02 -0500") References: <20704.23938.348195.393163@jerusalem.litteratus.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Robert Huff <roberthuff@rcn.com> writes: > While trying to build firefox, thunderbird, seamonkey, and > libxul under: > > FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 amd64 > > none of these believe nss is installed. > However: > > huff@jerusalem>> pkg info nss > nss-3.14 Libraries to support development of security-enabled applications > huff@jerusalem>> find /usr/local/ -name "*libnss*" > /usr/local/lib/nss/libnss3.so.1 > /usr/local/lib/nss/libnssckbi.so.1 > /usr/local/lib/nss/libnssdbm3.so.1 > /usr/local/lib/nss/libnssutil3.so.1 > /usr/local/lib/nss/libnss3.so > /usr/local/lib/nss/libnssckbi.so > /usr/local/lib/nss/libnssdbm3.so > /usr/local/lib/nss/libnssutil3.so > > > Any idea what might be wrong? Check wether ldconfig hints have -lnss3? If not, re-gen them. $ cat /usr/local/libdata/ldconfig/nss /usr/local/lib/nss $ ldconfig -r | GREP_COLOR=3 grep --color -wE -e -lnss3 397:-lnss3.1 => /usr/local/lib/nss/libnss3.so.1 $ service ldconfig restart ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/alsa-lib /usr/local/lib/event2 /usr/local/lib/nss 32-bit compatibility ldconfig path: /usr/lib32 Here's the code that decides whether a library is found (from bsd.port.mk): ${ECHO_MSG} -n "===> ${PKGNAME} depends on shared library: $$lib"; \ if ${LDCONFIG} ${_LDCONFIG_FLAGS} -r | ${GREP} -vwF -e "${PKGCOMPATDIR}" | ${GREP} -qwE -e "-l$$pattern"; then \ ${ECHO_MSG} " - found"; \ if [ ${_DEPEND_ALWAYS} = 1 ]; then \ ${ECHO_MSG} " (but building it anyway)"; \ notfound=1; \ else \ notfound=0; \ fi; \ else \ ${ECHO_MSG} " - not found"; \ notfound=1; \ fi; \ -- My guess, either you manually ran ldconfig without -m option or tried to install/update a port that runs ldconfig outside of USE_LDCONFIG.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1TpN68-000J7N-8z>