Apache OpenOffice (AOO) Bugzilla – Issue 111896
moz on Linux x86 cannot find -lnssutil3
Last modified: 2010-07-05 16:49:29 UTC
Hi ause, I have finished x86_64 build, but on x86: ccache /usr/bin/g++ -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer- arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor - Wno-long-long -pedantic -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O -fPIC -shared - Wl,-z,defs -Wl,-h,libpipnss.so -o libpipnss.so md4.o nsClientAuthRemember.o nsPSMBackgroundThread.o nsSSLThread.o nsCertVerificationThread.o nsCipherInfo.o nsNSSCallbacks.o nsNSSComponent.o nsNSSIOLayer.o nsNSSModule.o nsSSLSocketProvider.o nsTLSSocketProvider.o nsSDR.o nsPK11TokenDB.o nsNSSCertificate.o nsPKCS12Blob.o nsNSSASN1Object.o nsKeygenHandler.o nsCrypto.o nsPKCS11Slot.o nsKeygenThread.o nsCMSSecureMessage.o nsCMS.o nsCertPicker.o nsCRLInfo.o nsNSSCertCache.o nsNSSCertHelper.o nsNSSCertificateDB.o nsNSSCertTrust.o nsNSSCertValidity.o nsOCSPResponder.o nsUsageArrayHelper.o nsCRLManager.o nsNSSShutDown.o nsNTLMAuthModule.o nsNSSEvent.o nsSmartCardMonitor.o nsSmartCardEvent.o nsStreamCipher.o nsKeyModule.o nsCertTree.o ../../../../dist/lib/libunicharutil_s.a -L../../../../dist/bin -lxpcom - lxpcom_core -L../../../../dist/bin -L../../../../dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl - L../../../../dist/bin -lmozjs -L-L../../../../dist/bin -L../../../../dist/lib -lcrmf -lsmime3 -lssl3 -lnss3 - lnssutil3 -lsoftokn3 -Wl,-rpath,\$ORIGIN:\$ORIGIN/../ure-link/lib -Wl,- rpath,\$ORIGIN/..:\$ORIGIN/../../ure-link/lib -Wl,--version-script -Wl,../../../../../build/unix/gnu- ld-scripts/components-version-script -Wl,-Bsymbolic -ldl -lm /usr/lib/gcc/i586-suse-linux/4.0.2/../../../../i586-suse-linux/bin/ld: cannot find -lnssutil3 collect2: ld returned 1 exit status gmake[4]: *** [libpipnss.so] Error 1 gmake[4]: Leaving directory `/home/oo/BuildDir/ooo_DEV300_m79_src/moz/unxlngi6.pro/misc/build/mozilla/I_objdir/security/m anager/ssl/src' adding -L ~/BuildDir/ooo_DEV300_m79_src/solver/300/unxlngi6.pro/lib/ to the command line helped. Do you have an idea why? moz was ok in m78 on all platforms.
linking a nss library that doesn't exist in the seamonkey version of nss but in the nss modules supplied (thus on solver). moz/patches/linux_libc2.5.patch contains the change that triggers this but i have no idea why it was introduced. imho, it should build fine without. @vg: why did you introduce that patch?
@hjs: I needed it for the new baseline, othewise I got unresolved symbols, and google told me, that these symbols are to find in this library
moz builds fine on different machines (including baseline vm) without this patch.
masterfixed in DEV300_m81
.