Bug#626579: libxpcom.so: cannot open shared object file: No such file or directory

Mike Hommey mh at glandium.org
Fri May 13 10:28:46 UTC 2011


On Fri, May 13, 2011 at 11:13:15AM +0200, Tim Rühsen wrote:
> Am Friday, 13. May 2011 schrieben Sie:
> > On Fri, May 13, 2011 at 10:50:59AM +0200, Tim Ruehsen wrote:
> > > Package: xulrunner-1.9.1
> > > Version: 1.9.1.19-2
> > > Severity: normal
> > > 
> > > Hi,
> > > 
> > > it seems that *.so libraries are not found:
> > > 
> > > blitz-lx:/usr/lib/xulrunner-1.9.1# ./xpcshell
> > > ./xpcshell: error while loading shared libraries: libxpcom.so: cannot
> > > open shared object file: No such file or directory
> > > 
> > > blitz-lx:/usr/lib/xulrunner-1.9.1# ldd xpcshell
> > > 
> > >         linux-vdso.so.1 =>  (0x00007fff38e86000)
> > >         /usr/lib/libc/memcpy-syslog-preload.so (0x00007f0fdf200000)
> > >         libpthread.so.0 => /lib/libpthread.so.0 (0x00000034e6800000)
> > >         libxpcom.so => not found
> > >         libxul.so => not found
> > >         libmozjs.so.2d => /usr/lib/libmozjs.so.2d (0x00007f0fdef1c000)
> > >         libnspr4.so.0d => /usr/lib/libnspr4.so.0d (0x00000034ef800000)
> > >         libreadline.so.6 => /lib/libreadline.so.6 (0x00000034ec000000)
> > >         libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00000034e8800000)
> > >         libc.so.6 => /lib/libc.so.6 (0x00000034e5c00000)
> > >         /lib64/ld-linux-x86-64.so.2 (0x00000034e5800000)
> > >         libm.so.6 => /lib/libm.so.6 (0x00000034e6400000)
> > >         libdl.so.2 => /lib/libdl.so.2 (0x00000034e6000000)
> > >         libncurses.so.5 => /usr/lib/libncurses.so.5 (0x00000034f0000000)
> > >         libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00000034e8400000)
> > > 
> > > I did a reinstall of xulrunner-1.9.1, but still the same problem.
> > > 
> > > It seems that /usr/lib/xulrunner-1.9.1/ is missing in /etc/ld.so.conf
> > > resp. /etc/ld.so.conf.d. After adding it there plus executing ldconf,
> > > the missing libraries are found. Maybe you could provide a file for
> > > /etc/ld.so.conf.d/ and trigger ldconfig.
> > 
> > xpcshell is not supposed to be started alone. you need to use the
> > run-mozilla.sh wrapper script.
> 
> Sorry, I forget to say that it causes a problem with prelink: 
> prelink: /usr/lib/xulrunner-1.9.1/xulrunner-bin: Could not find one of
>  the dependencies
> 
> This just means, this libraries would not prelink. Would be nice to avoid such 
> messages and have it going....

Just set LD_LIBRARY_PATH when you prelink.
Prelinking is a terrible idea anyway.

Mike





More information about the pkg-mozilla-maintainers mailing list