Dear all, I have built mozilla 1.7.12 on Digital UNIX 4.0F. Running mozilla from the local build directory fails to load libpipnss.so.
However, when I use "make DESTDIR=/tmp install", package the tree, install it as root, run regxpcom and regchrome as root, but then run mozilla as normal user, loading libpipnss.so *does* work. Can anyone shed some light on this behaviour? Is this a file/direcory permission problem of some kind or do I need to run some additional utility in the build directory? Thankx in advance for your help Urs ------------------------------------------------------------------------------------------ -bash-2.05b$ pwd /home/urs/ports/mozilla/builds/osf1_V40_debug/dist/bin -bash-2.05b$ registering libpipnss.so as user urs fails.... -bash-2.05b$ LD_LIBRARY_PATH=`pwd`:`pwd`/.. ./regxpcom Type Manifest File: /var/tmp/home/urs/ports/mozilla/builds/osf1_V40_debug/dist/bin/components/xpti.dat +++ JavaScript debugging hooks installed. nsNativeComponentLoader: autoregistering begins. nsNativeComponentLoader: SelfRegisterDll(libpipnss.so) Load FAILED with error: dlopen: cannot load /var/tmp/home/urs/ports/mozilla/builds/osf1_V40_debug/dist/bin/components/libpipnss.so nsNativeComponentLoader: autoregistering succeeded nNCL: registering deferred (0) +++ JavaScript debugging hooks removed. nsStringStats => mAllocCount: 1351 => mReallocCount: 960 => mFreeCount: 1351 => mShareCount: 1690 => mAdoptCount: 202 => mAdoptFreeCount: 202 -bash-2.05b$ ... doing this as root works. However .... bash-2.05b# LD_LIBRARY_PATH=`pwd`:`pwd`/.. ./regxpcom Type Manifest File: /usr/users/urs/ports/mozilla/builds/osf1_V40_debug/dist/bin/components/xpti.dat +++ JavaScript debugging hooks installed. nsNativeComponentLoader: autoregistering begins. *** Registering NSS components (all right -- a generic module!) nsNativeComponentLoader: autoregistering succeeded nNCL: registering deferred (0) +++ JavaScript debugging hooks removed. nsStringStats => mAllocCount: 3213 => mReallocCount: 961 => mFreeCount: 3213 => mShareCount: 3593 => mAdoptCount: 236 => mAdoptFreeCount: 236 bash-2.05b# ... running mozilla under user urs still cannot load libpipnss.so -bash-2.05b$ ./mozilla Gtk-WARNING **: Unable to locate loadable module in module_path: "libxfce.so", Gtk-WARNING **: Unable to locate loadable module in module_path: "libxfce.so", Gtk-WARNING **: Unable to locate loadable module in module_path: "libxfce.so", Gtk-WARNING **: Unable to locate loadable module in module_path: "libxfce.so", Gtk-WARNING **: Unable to locate loadable module in module_path: "libxfce.so", Gtk-WARNING **: Unable to locate loadable module in module_path: "libxfce.so", Gtk-WARNING **: Unable to locate loadable module in module_path: "libxfce.so", Gtk-WARNING **: Unable to locate loadable module in module_path: "libxfce.so", Type Manifest File: /var/tmp/home/urs/ports/mozilla/builds/osf1_V40_debug/dist/b in/components/xpti.dat +++ JavaScript debugging hooks installed. nsNativeComponentLoader: autoregistering begins. nsNativeComponentLoader: autoregistering succeeded nNCL: registering deferred (0) GFX: dpi=118 t2p=0.0833333 p2t=12 depth=24 ++WEBSHELL == 1 ++DOMWINDOW == 1 LoadPlugin() /var/tmp/home/urs/ports/mozilla/builds/osf1_V40_debug/modules/plugi n/samples/default/unix/libnullplugin.so returned 1402f0d70 GetMIMEDescription() returned "*:.*:All types" ++WEBSHELL == 2 ++DOMWINDOW == 2 Note: styleverifytree is disabled Note: frameverifytree is disabled WARNING: freetype not compiled in, file nsFT2FontNode.cpp, line 52 Note: verifyreflow is disabled ++WEBSHELL == 3 ++DOMWINDOW == 3 Error loading URL http://www.mozilla.org/start/ : 804b0002 nsNativeComponentLoader: GetFactory(libpipnss.so) Load FAILED with error: dlopen : cannot load /var/tmp/home/urs/ports/mozilla/builds/osf1_V40_debug/dist/bin/com ponents/libpipnss.so nsNativeComponentLoader: GetFactory(libpipnss.so) Load FAILED with error: dlopen : cannot load /var/tmp/home/urs/ports/mozilla/builds/osf1_V40_debug/dist/bin/com ponents/libpipnss.so WARNING: no registered socket provider, file ../../../../../netwerk/base/src/nsS ocketTransport2.cpp, line 752 we don't handle eBorderStyle_close yet... please fix me ++WEBSHELL == 4 ++DOMWINDOW == 4 frame: DocElementBox(dialog)(-1) (140f44178) style: 140f44098 {} Has parent context: style: 140f43c58 :-moz-canvas {} Should be null WARNING: nsTimeoutImpl::Release() proceeding without context., file ../../../../ ../dom/src/base/nsGlobalWindow.cpp, line 5593 --WEBSHELL == 3 Error loading URL https://sourceforge.org/ : 804b0033 --DOMWINDOW == 3 GetPrimaryFrameFor() called while nsFrameManager is being destroyed! nsPluginHostImpl::Observe "quit-application" WARNING: requested removal of nonexistent window , file ../../../../../../embedding/components/windowwatcher/src/nsWindowWatcher.cpp, line 967 GetPrimaryFrameFor() called while nsFrameManager is being destroyed! --WEBSHELL == 2 --WEBSHELL == 1 --WEBSHELL == 0 nsNativeComponentLoader: GetFactory(libpipnss.so) Load FAILED with error: dlopen: cannot load /var/tmp/home/urs/ports/mozilla/builds/osf1_V40_debug/dist/bin/components/libpipnss.so nsPluginHostImpl::Observe "xpcom-shutdown" --DOMWINDOW == 2 --DOMWINDOW == 1 WARNING: nsExceptionService ignoring thread destruction after shutdown, file ../../../../xpcom/base/nsExceptionService.cpp, line 191 +++ JavaScript debugging hooks removed. nsPluginHostImpl dtor --DOMWINDOW == 0 GC Cache: hits: 1442 269 138 97 52 93 22 19 19 26 hits: 2177, misses: 724, hit percent: 75.043091% nsStringStats => mAllocCount: 21114 => mReallocCount: 2863 => mFreeCount: 21114 => mShareCount: 18080 => mAdoptCount: 1764 => mAdoptFreeCount: 1762 -bash-2.05b$ -bash-2.05b$ ls -l ../../security/manager/ssl/src/libpipnss.so -rwxr-xr-x 1 urs devel 9240576 Nov 15 20:08 ../../security/manager/ssl/src/libpipnss.so -bash-2.05b$ changing permissions doesn't help either bash-2.05b# ls -l ../../security/manager/ssl/src/libpipnss.so -rwxr-xr-x 1 root system 9240576 Nov 15 20:08 ../../security/manager/ssl/src/libpipnss.so bash-2.05b# _______________________________________________ Mozilla-security mailing list Mozilla-security@mozilla.org http://mail.mozilla.org/listinfo/mozilla-security