cleanup obsolete /etc/gre.d/ files in maintainer scripts (was: firefox: Couldn't load XPCOM)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xulrunner-1.9 (Ubuntu) |
Won't Fix
|
High
|
Unassigned | ||
xulrunner-1.9.1 (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Binary package hint: firefox
I just upgraded my system76 pangolin laptop from 8.04 to 8.10 and now firefox-3.0.3 will not launch:
$ firefox
Couldn't load XPCOM.
It appears that xulrunner is not in the path:
$ xpcshell-1.9
xpcshell-1.9: error while loading shared libraries: libmozjs.so: cannot open shared object file: No such file or directory
Adding xulrunner to LD_LIBRARY_PATH allows me to launch firefox-3.0.3 from the shell:
$ find /usr/lib -name "libmozjs.so"
/usr/lib/
/usr/lib/
$ export LD_LIBRARY_
$ firefox
$ lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10
$ apt-cache policy firefox
firefox:
Installed: 3.0.3+nobinonly
Candidate: 3.0.3+nobinonly
Version table:
*** 3.0.3+nobinonly
500 http://
100 /var/lib/
Archiving obsolete /etc/gre.d files solves the problem:
$ ls -l /etc/gre.d/ d/1.9.0. 1.system. conf /etc/gre. d/1.9.0. 1.system. conf.bak d/1.9.system. conf /etc/gre. d/1.9.system. conf.bak
total 12
-rwxr-xr-x 1 root root 76 2008-07-28 16:56 1.9.0.1.system.conf
-rwxr-xr-x 1 root root 76 2008-09-25 07:24 1.9.0.3.system.conf
-rwxr-xr-x 1 root root 68 2008-06-10 14:03 1.9.system.conf
$ sudo mv /etc/gre.
$ sudo mv /etc/gre.
So firefox is apparently selecting the wrong configuration file for xulrunner at runtime.