[desktop-discuss] firefox and libnss3.so

George Betzos betzosg at unisystems.gr
Fri Jan 5 05:02:03 PST 2007


Brian,

I have started with build 39 and I have updated ON and JDS components.
Apparently SUNWtls is not part of ON (does anyone know if it is part of
any consolidation?).

Anyway, I am running opensolaris on vmware on a x86 pc (running linux
fyi). If run from command line, firefox dies with these messages:

ld.so.1: firefox-bin: fatal: libnss3.so: version `NSS_3.11.1' not found
(required by file /usr/lib/firefox/components/libpipnss.so)
ld.so.1: firefox-bin: fatal: libnss3.so: open failed: No such file or
directory
ld.so.1: firefox-bin: fatal: libnss3.so: version `NSS_3.11.1' not found
(required by file /usr/lib/firefox/components/libpipnss.so)
ld.so.1: firefox-bin: fatal: libnss3.so: open failed: No such file or
directory
ld.so.1: firefox-bin: fatal: libnss3.so: version `NSS_3.11.1' not found
(required by file /usr/lib/firefox/components/libpipnss.so)
ld.so.1: firefox-bin: fatal: libnss3.so: open failed: No such file or
directory
ld.so.1: firefox-bin: fatal: libnss3.so: version `NSS_3.11.1' not found
(required by file /usr/lib/firefox/components/libpipnss.so)
ld.so.1: firefox-bin: fatal: libnss3.so: open failed: No such file or
directory
ld.so.1: firefox-bin: fatal: relocation error:
file /usr/lib/firefox/components/libpipnss.so: symbol
SEC_RegisterDefaultHttpClient: referenced symbol not found
Killed

Also, "ldd -u -r /usr/lib/firefox/firefox-bin" gives:

        libCrun.so.1 =>  /usr/lib/firefox/../libCrun.so.1
        libCstd.so.1 =>  /usr/lib/firefox/../libCstd.so.1
        libmozjs.so =>   /usr/lib/firefox/libmozjs.so
        libxpcom_core.so =>      /usr/lib/firefox/libxpcom_core.so
        libplc4.so =>    /usr/lib/mps/libplc4.so
        libnspr4.so =>   /usr/lib/mps/libnspr4.so
        libpthread.so.1 =>       /usr/lib/firefox/../libpthread.so.1
        libgtk-x11-2.0.so.0 =>   /usr/lib/firefox/../libgtk-x11-2.0.so.0
        libgdk-x11-2.0.so.0 =>   /usr/lib/firefox/../libgdk-x11-2.0.so.0
        libX11.so.4 =>   /usr/lib/firefox/../libX11.so.4
        libnsl.so.1 =>   /usr/lib/firefox/../libnsl.so.1
        libthread.so.1 =>        /usr/lib/firefox/../libthread.so.1
        libc.so.1 =>     /usr/lib/firefox/../libc.so.1
        libm.so.2 =>     /usr/lib/libm.so.2
        libplds4.so =>   /usr/lib/mps/libplds4.so
        libdl.so.1 =>    /usr/lib/firefox/../libdl.so.1
        librt.so.1 =>    /lib/librt.so.1
        libsocket.so.1 =>        /lib/libsocket.so.1
        libgdk_pixbuf-2.0.so.0 =>        /usr/lib/libgdk_pixbuf-2.0.so.0
        libgmodule-2.0.so.0 =>   /usr/lib/libgmodule-2.0.so.0
        libglib-2.0.so.0 =>      /usr/lib/libglib-2.0.so.0
        libgobject-2.0.so.0 =>   /usr/lib/libgobject-2.0.so.0
        libatk-1.0.so.0 =>       /usr/lib/libatk-1.0.so.0
        libcairo.so.2 =>         /usr/lib/libcairo.so.2
        libpango-1.0.so.0 =>     /usr/lib/libpango-1.0.so.0
        libpangocairo-1.0.so.0 =>        /usr/lib/libpangocairo-1.0.so.0
        libXrandr.so.2 =>        /usr/X11/lib/libXrandr.so.2
        libXrender.so.1 =>       /usr/sfw/lib/libXrender.so.1
        libXi.so.5 =>    /usr/lib/libXi.so.5
        libXext.so.0 =>  /usr/lib/libXext.so.0
        libfontconfig.so.1 =>    /usr/lib/libfontconfig.so.1
        libmlib.so.2 =>  /usr/lib/libmlib.so.2
        libmp.so.2 =>    /lib/libmp.so.2
        libmd.so.1 =>    /lib/libmd.so.1
        libscf.so.1 =>   /lib/libscf.so.1
        libfreetype.so.6 =>      /usr/sfw/lib/libfreetype.so.6
        libpng12.so.0 =>         /usr/lib/libpng12.so.0
        libz.so.1 =>     /usr/lib/libz.so.1
        libpangoft2-1.0.so.0 =>  /usr/lib/libpangoft2-1.0.so.0
        libexpat.so.0 =>         /usr/sfw/lib/libexpat.so.0
        libuutil.so.1 =>         /lib/libuutil.so.1
        libgen.so.1 =>   /lib/libgen.so.1
        /usr/lib/libmlib/libmlib_sse2.so.2

   unused object=/usr/lib/firefox/../libdl.so.1
   unused object=/lib/librt.so.1

I would prefer to avoid installing from scratch build 55, but if that's
the only way I 'll do it at some point.

Thanks again,

George
P.S. I am replying using evolution on the opensolaris virtual
machine :-)

On Fri, 2007-01-05 at 11:57 +0800, brian.lu wrote:
> George,
> 
> Sun Firefox uses /usr/lib/mps/libnss3.so instead of its own. 
> Firefox uses the system NSS/NSPR libraries (i.e. NSS/NSPR libraries 
> located at /usr/lib/mps).
> 
> I've installed nv 55 on both my laptop and sparc machines, firefox works 
> well.
> 
> If you still have such problem, after installing nv build 55,  can you 
> tell me following things?
> 1. Which platform are you using? x86 PC, laptop or sparc machine?
> 2. How do you install the build 55?  fresh install or upgrade?
> 3. The output of "ldd -u -r /usr/lib/firefox/firefox-bin"
> 
> Thanks
> 
> Brian
> 
> George Betzos wrote:
> > Hi and Happy New Year!
> >
> > I am wondering if I have messed things up or if it is something that can be easily fixed. Firefox won't start, complaining that libnss3.so version NSS_3.11.1 was not found.
> >
> > Background: Started with b39 (community express) on vmware and started updating from time to time by building from the ON sources. Around build 47 I couldn't build from source (I had skipped a couple since my last update) because I was missing some dbus header files. So I installed earlier pre-built ON binaries and JDS binaries in order to build.  After that firefox would not work. I have updated a couple more ON and JDS builds since then (pre-built binaries) without any success in starting firefox.
> >
> > Now I am about to update to ON build 55? (20070101) and the same for the desktop, however I do not expect any improvement on the situation. Does anyone have a clue? Because the SUNWfirefox package does not contain libnss3 and it seems that firefox does not accept /usr/lib/mps/libnss3.so (part of the SUNWtls package).
> >
> > I would prefer to fix this system than to re-install a recent community express version.  Any help will be greatly appreciated.
> >
> > Many thanks,
> >
> > George
> >  
> >  
> > This message posted from opensolaris.org
> > _______________________________________________
> > desktop-discuss mailing list
> > desktop-discuss at opensolaris.org
> >   
> 


More information about the desktop-discuss mailing list