On 04/27/2010 09:32 AM, Nelson B Bolyard wrote: > On 2010-04-27 07:07 PST, David Stutzman wrote: > >> I just built nss-3.12.6 with the tarball from mozilla.org[1] and when I >> try to create a new DB using "certutil -N -d ." I get the following >> error. I'm running certutil out of the dist folder in the nss source >> tree after it's built. >> >> certutil: function failed: Symbol not found in any of the loaded dynamic >> libraries. >> /usr/lib/libnssdbm3.so: undefined symbol: legacy_SetCryptFunctions >> legacy_SetCryptFunctions should be defined in lgutil.c in mozilla/security/nss/lib/softokn/legacydb.
I don't know how you could get a libnssdbm3 without it defined. It's been there in pretty much all versions of nss-3.12. It's interesting that it's trying to read /usr/lib/libnssdbm3.so. As Nelson says, that's probably an LD_LIBRARY_PATH issue unless you explicitly copied your build libnssdb3.so to /usr/lib. Maybe /usr/lib/libnssdbm3.so is a link to no where? bob >> >> "certutil -N -d sql:." works fine but I kind of need the older DB format >> for the application I'm using this particular build of NSS for. >> >> Google found the following which seems like dev notes for planning out >> future changes to NSS: >> https://wiki.mozilla.org/NSS_Shared_DB >> >> Dave >> >> [1]:ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_12_6_RTM/src/nss-3.12.6-with-nspr-4.8.4.tar.gz >> > Hi David, Long time ... > > Are your newly built NSS shared libs in a directory in your LD_LIBRARY_PATH? >
-- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto