On Thu, Mar 24, 2016 at 04:33:12PM +0100, Solène Rapenne wrote: > -------- Courriel original -------- > Objet: Re: www/firefox linking issue ? > Date: 2016-03-24 16:32 > De: Solène Rapenne <[email protected]> > À: Landry Breuil <[email protected]> > > Le 2016-03-24 16:24, Landry Breuil a écrit : > >On Thu, Mar 24, 2016 at 04:12:14PM +0100, Solène Rapenne wrote: > >>Hello, > >> > >> > >>I am using -current on amd64. My system has been updated (both system > >>and > >>packages) this morning and when starting firefox I get this message : > >> > >>XPCOMGlueLoad error for file > >>/usr/local/lib/firefox-45.0.1/libxul.so.63.0: > >>Cannot load specified object > >>Couldn't load XPCOM. > > > >Seems the current amd64 pkg snap depends on 'mixed' base libs. Try with > >LD_DEBUG=1, it should tell you which lib it cant find. > > > >Best to wait for next amd64 pkg snap. > > > >Landry > > Here is the LD_DEBUG=1 firefox output (only the end because it does 862 > lines and only error displayed at the end) > > linking dep /usr/lib/libpthread.so.21.0 as child of > /usr/local/lib/libgthread-2.0.so.4200.2 > examining: '/usr/lib/libstdc++.so.57.0' > loading: libm.so.9.0 required by /usr/lib/libstdc++.so.57.0 > linking dep /usr/lib/libm.so.9.0 as child of /usr/lib/libstdc++.so.57.0 > examining: '/usr/lib/libexpat.so.11.0' > examining: '/usr/X11R6/lib/libpthread-stubs.so.2.0' > examining: '/usr/X11R6/lib/libxcb.so.3.2' > loading: libXau.so.10.0 required by /usr/X11R6/lib/libxcb.so.3.2 > loading: libXdmcp.so.11.0 required by /usr/X11R6/lib/libxcb.so.3.2 > loading: libpthread-stubs.so.2.0 required by /usr/X11R6/lib/libxcb.so.3.2 > linking dep /usr/X11R6/lib/libpthread-stubs.so.2.0 as child of > /usr/X11R6/lib/libxcb.so.3.2 > linking dep /usr/X11R6/lib/libXau.so.10.0 as child of > /usr/X11R6/lib/libxcb.so.3.2 > linking dep /usr/X11R6/lib/libXdmcp.so.11.0 as child of > /usr/X11R6/lib/libxcb.so.3.2 > examining: '/usr/local/lib/libpcre.so.3.0' > examining: '/usr/local/lib/libffi.so.1.2' > loading: libpthread.so.20.1 required by /usr/local/lib/libffi.so.1.2 > flags /usr/lib/libpthread.so.20.1 = 0x68 > dlopen: failed to open libpthread.so.20.1
There's your issue. libffi in current snap wasnt updated for $reasons, hence ld.so tries to load it (and its depending libs) which ends up loading mixed versions of libpthread. Temporary fix: force-update libffi (rebuild, pkg_add -rDinstalled...) to a version that depends on the latest libpthread. Retry, repeat, rince.. Landry
