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

2011-05-13 Thread Tim Ruehsen
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 =  (0x7fff38e86000)
/usr/lib/libc/memcpy-syslog-preload.so (0x7f0fdf20)
libpthread.so.0 = /lib/libpthread.so.0 (0x0034e680)
libxpcom.so = not found
libxul.so = not found
libmozjs.so.2d = /usr/lib/libmozjs.so.2d (0x7f0fdef1c000)
libnspr4.so.0d = /usr/lib/libnspr4.so.0d (0x0034ef80)
libreadline.so.6 = /lib/libreadline.so.6 (0x0034ec00)
libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x0034e880)
libc.so.6 = /lib/libc.so.6 (0x0034e5c0)
/lib64/ld-linux-x86-64.so.2 (0x0034e580)
libm.so.6 = /lib/libm.so.6 (0x0034e640)
libdl.so.2 = /lib/libdl.so.2 (0x0034e600)
libncurses.so.5 = /usr/lib/libncurses.so.5 (0x0034f000)
libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x0034e840)

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.

Thx, Tim

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages xulrunner-1.9.1 depends on:
ii  libasound2   1.0.23-4shared library for ALSA applicatio
ii  libatk1.0-0  2.0.0-1 The ATK accessibility toolkit
ii  libbz2-1.0   1.0.5-6 high-quality block-sorting file co
ii  libc62.13-4  Embedded GNU C Library: Shared lib
ii  libcairo21.10.2-6The Cairo 2D vector graphics libra
ii  libdbus-1-3  1.4.8-3 simple interprocess messaging syst
ii  libfontconfig1   2.8.0-2.2   generic font configuration library
ii  libfreetype6 2.4.4-1 FreeType 2 font engine, shared lib
ii  libgcc1  1:4.6.0-7   GCC support library
ii  libgdk-pixbuf2.0 2.23.3-3GDK Pixbuf library
ii  libglib2.0-0 2.28.6-1The GLib library of C routines
ii  libgtk2.0-0  2.24.4-3The GTK+ graphical user interface 
ii  libhunspell-1.2- 1.2.14-4spell checker and morphological an
ii  libjpeg626b1-1   The Independent JPEG Group's JPEG 
ii  libmozjs2d   1.9.1.19-2  The Mozilla SpiderMonkey JavaScrip
ii  libnspr4-0d  4.8.7-2 NetScape Portable Runtime Library
ii  libnss3-1d   3.12.9.with.ckbi.1.82-1 Network Security Service libraries
ii  libpango1.0-01.28.3-6Layout and rendering of internatio
ii  libpng12-0   1.2.44-2PNG library - runtime
ii  libreadline6 6.2-1   GNU readline and history libraries
ii  libsqlite3-0 3.7.6.2-1   SQLite 3 shared library
ii  libstartup-notif 0.10-1  library for program launch feedbac
ii  libstdc++6   4.6.0-7 The GNU Standard C++ Library v3
ii  libx11-6 2:1.4.3-1   X11 client-side library
ii  libxrender1  1:0.9.6-1   X Rendering Extension client libra
ii  libxt6   1:1.1.1-1   X11 toolkit intrinsics library
ii  zlib1g   1:1.2.3.4.dfsg-3compression library - runtime

xulrunner-1.9.1 recommends no packages.

Versions of packages xulrunner-1.9.1 suggests:
ii  libcanberra0  0.24-1 a simple abstract interface for pl
ii  libdbus-glib-1-2  0.92-1 simple interprocess messaging syst
ii  libgconf2-4   2.28.1-6   GNOME configuration database syste
ii  libgnome2-0   2.30.0-1   The GNOME library - runtime files
ii  libgnomeui-0  2.24.3-1   The GNOME libraries (User Interfac
ii  libgnomevfs2-01:2.24.4-1 GNOME Virtual File System (runtime

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2011-05-13 Thread Mike Hommey
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 =  (0x7fff38e86000)
   /usr/lib/libc/memcpy-syslog-preload.so (0x7f0fdf20)
   libpthread.so.0 = /lib/libpthread.so.0 (0x0034e680)
   libxpcom.so = not found
   libxul.so = not found
   libmozjs.so.2d = /usr/lib/libmozjs.so.2d (0x7f0fdef1c000)
   libnspr4.so.0d = /usr/lib/libnspr4.so.0d (0x0034ef80)
   libreadline.so.6 = /lib/libreadline.so.6 (0x0034ec00)
   libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x0034e880)
   libc.so.6 = /lib/libc.so.6 (0x0034e5c0)
   /lib64/ld-linux-x86-64.so.2 (0x0034e580)
   libm.so.6 = /lib/libm.so.6 (0x0034e640)
   libdl.so.2 = /lib/libdl.so.2 (0x0034e600)
   libncurses.so.5 = /usr/lib/libncurses.so.5 (0x0034f000)
   libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x0034e840)
   
   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



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2011-05-13 Thread Tim Rühsen
Am Friday, 13. May 2011 schrieb Mike Hommey:
 On Fri, May 13, 2011 at 11:13:15AM +0200, Tim Rühsen wrote:
  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.

Prelinking is automatically done by cron when you install the package 
'prelink'. I don't like modifying the cron script since it is provided by the 
package as is.
What I did is putting a file into /etc/ld.so.conf.d/ which contains the 
library path '/usr/lib/xulrunner-1.9.1/'. But this a short time workaround 
which will break when xulrunner-1.9.1 is removed or replaced by a new version.

A proper solution still would be if xulrunner-x.y.z (whatever version) could 
provide the mentioned file. I have enough of these little things to keep in 
mind... computers are better at houskeeping library paths.
If you fix it, there are some nice side effects:
- prelink will work
- ldd will show the correct dependencies
- any program relying on ldd or prelink will work
( i am shure this list is not complete !)

 Prelinking is a terrible idea anyway.
It is beyond of the scope of this bug report... but maybe you could be more 
precise or link me to good discussions about pros and cons (never found a 
funded con that was relevant to me).
I personally use prelink since many years and can't remember any serious 
problems. But I just use on my desktop and not on any server. Just being 
precautious, not having a real reason.

Regards, Tim



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org