[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can't run iceweasel [Couldn't load XPCOM]



On Mon, Jul 16, 2012 at 08:09:18PM -0400, Harry Putnam wrote:
> Chris Bannister <cbannister@slingshot.co.nz> writes:
> 
> > I'd purge that, and reinstall it, someone has tampered with it;
> > otherwise why would /usr/lib/xulrunner-10.0/libxul.so be missing.
> 
> It was not missing but was being reported as missing.

Weird!

> Anyway I did remove and purge:
>
> xulrunner-10.0
> iceweasel

Were there any suspicious messages during the purge?

JFTR, what does:
root@tal:~# apt-cache policy xulrunner-10.0 show?

I've got:
  Installed: 10.0.5esr-2
  Candidate: 10.0.5esr-2

> >> | xulrunner-dev                10.0.5esr-1   
> > Why is xulrunner-dev installed? I'd purge that.
> 
> And xulrunner-dev

Do you remember why/how that package was installed? IOW, have you at any
stage tried to compile a local version?

> Then reinstalled iceweasel which pulled in xulrunner-10.0.

Were there any suspicious messages during the reinstall?
(if not sure, could you wrap the purge and reinstall in a typescript
showing all commands and their output.)

> And now:
> 
>   iceweasel
>   XPCOMGlueLoad error for file /usr/lib/xulrunner-10.0/libxpcom.so:
>   libxul.so: cannot open shared object file: No such file or directory
>   Couldn't load XPCOM.
 
> And still:
> 
> ls -l /usr/lib/xulrunner-10.0/libx*
> root root    15048 Jun 29 09:52 /usr/lib/xulrunner-10.0/libxpcom.so
> root root 20280312 Jun 29 09:52 /usr/lib/xulrunner-10.0/libxul.so

OK, same as mine.

Just as a matter of interest does this:

root@tal:~# ls -l /usr/lib/xulrunner-10.0/
total 24032
lrwxrwxrwx 1 root root       33 Feb 18 12:30 chrome ->
../../share/xulrunner-10.0/chrome
-rw-r--r-- 1 root root       36 Jun 30 01:52 chrome.manifest
drwxr-xr-x 2 root root     4096 Jul 13 16:50 components
lrwxrwxrwx 1 root root       35 Feb 18 12:30 defaults ->
../../share/xulrunner-10.0/defaults
-rw-r--r-- 1 root root      137 Jun 30 01:51 dependentlibs.list
lrwxrwxrwx 1 root root       20 Jun 30 01:52 dictionaries ->
../../share/hunspell
lrwxrwxrwx 1 root root       32 Feb 18 12:30 icons ->
../../share/xulrunner-10.0/icons
-rw-r--r-- 1 root root     6904 Jun 30 01:52 libmozalloc.so
lrwxrwxrwx 1 root root       18 Jun 30 01:52 libmozjs.so ->
../libmozjs.so.10d
-rw-r--r-- 1 root root    15048 Jun 30 01:52 libxpcom.so
-rw-r--r-- 1 root root 20280312 Jun 30 01:52 libxul.so
-rwxr-xr-x 1 root root    41780 Jun 30 01:52 mozilla-xremote-client
-rw-r--r-- 1 root root  3872319 Jun 30 01:52 omni.ja
-rw-r--r-- 1 root root       48 Jun 30 01:51 platform.ini
-rwxr-xr-x 1 root root    32432 Jun 30 01:52 plugin-container
-rwxr-xr-x 1 root root      586 Jun 30 01:51 reportbug-helper-script
-rwxr-xr-x 1 root root    10380 Jun 30 01:51 run-mozilla.sh
-rw-r--r-- 1 root root        6 Jun 30 01:51 update.locale
-rwxr-xr-x 1 root root    33164 Jun 30 01:52 updater
-rwxr-xr-x 1 root root    93296 Jun 30 01:52 xpcshell
-rwxr-xr-x 1 root root     3913 Jun 30 01:51 xulrunner
-rwxr-xr-x 1 root root    63828 Jun 30 01:52 xulrunner-bin
-rwxr-xr-x 1 root root    68048 Jun 30 01:52 xulrunner-stub
root@tal:~#

agree with yours?

> So not an ounce of progress... I guess.

au contraire. :) 

Just for interest, can you do (as root) "updatedb", then "locate
libxul"

And:
apt-cache policy libnss3

Also, does this help?

root@tal:~# ls -al /etc/ld.so.conf.d/
total 24
drwxr-xr-x   2 root root  4096 Jun 10 14:56 .
drwxr-xr-x 112 root root 12288 Jul 17 21:45 ..
-rw-r--r--   1 root root   108 Dec 26  2011 i486-linux-gnu.conf
-rw-r--r--   1 root root    44 Jan 24  2011 libc.conf
root@tal:~# less /etc/ld.so.conf.d/i486-linux-gnu.conf
# Multiarch support
/lib/i386-linux-gnu
/usr/lib/i386-linux-gnu
/lib/i486-linux-gnu
/usr/lib/i486-linux-gnu
root@tal:~# less /etc/ld.so.conf.d/libc.conf
# libc default configuration
/usr/local/lib
root@tal:~#

root@tal:~# ls -al /usr/local/lib/
total 20
drwxrwsr-x  5 root staff 4096 Jun 10 15:02 .
drwxrwsr-x 10 root staff 4096 Mar 12  2011 ..
drwxrwsr-x  4 root staff 4096 Jul 13 16:54 python2.6
drwxrwsr-x  4 root staff 4096 May 13 11:03 python2.7
drwxr-sr-x  4 root staff 4096 Jun 20 20:45 site_ruby
root@tal:~#


-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


Reply to: