libmozjs.so not found on Dapper Install

Bug #64577 reported by Martin J Hooper
4
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Installed Firefox 1.5.0.7 from Dapper Security Updates. Running on an i686

Firefox did not run at all.

Did a bit of digging and this was the error I discovered.

martin@Anne ~ $ /usr/lib/firefox/firefox-bin
/usr/lib/firefox/firefox-bin: error while loading shared libraries: libmozjs.so: cannot open shared object file: No such file or directory

martin@Anne ~ $ apt-cache policy firefox
firefox:
  Installed: 1.5.dfsg+1.5.0.7-ubuntu0.6.06
  Candidate: 1.5.dfsg+1.5.0.7-ubuntu0.6.06
  Version table:
 *** 1.5.dfsg+1.5.0.7-ubuntu0.6.06 0
        500 http://security.ubuntu.com dapper-security/main Packages
        100 /var/lib/dpkg/status
     1.5.dfsg+1.5.0.3-0ubuntu3 0
        500 http://gb.archive.ubuntu.com dapper/main Packages

Sources.list

deb http://gb.archive.ubuntu.com/ubuntu/ dapper main restricted
deb-src http://gb.archive.ubuntu.com/ubuntu/ dapper main restricted
deb http://gb.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
deb-src http://gb.archive.ubuntu.com/ubuntu/ dapper-updates main restricted

deb http://gb.archive.ubuntu.com/ubuntu/ dapper universe multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ dapper universe multiverse

deb http://gb.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu dapper-security main restricted
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted
# deb http://security.ubuntu.com/ubuntu dapper-security universe
# deb-src http://security.ubuntu.com/ubuntu dapper-security universe

deb http://kubuntu.org/packages/amarok-143 dapper main
deb http://www.mirrorservice.org/sites/ftp.kde.org/pub/kde/stable/3.5.4/kubuntu dapper main

Revision history for this message
Daniel Robitaille (robitaille) wrote :

A better executable to use to start firefox from the command line is
"/usr/lib/firefox/firefox" instead of "/usr/lib/firefox/firefox-bin". THe former is a shell script that setup some environment stuff and then call the later.

Does /usr/lib/firefox/libmozjs.so exists on your system? It should be there, and on my system, it is installed via that same firefox package that you have on yours computer:

$ ls -l /usr/lib/firefox/libmozjs.so
-rw-r--r-- 1 root root 620708 2006-09-21 03:27 /usr/lib/firefox/libmozjs.so

$ dpkg -S /usr/lib/firefox/libmozjs.so
firefox: /usr/lib/firefox/libmozjs.so

$ apt-cache policy firefox
firefox:
  Installed: 1.5.dfsg+1.5.0.7-ubuntu0.6.06
  Candidate: 1.5.dfsg+1.5.0.7-ubuntu0.6.06
  Version table:
 *** 1.5.dfsg+1.5.0.7-ubuntu0.6.06 0
        500 http://security.ubuntu.com dapper-security/main Packages
        100 /var/lib/dpkg/status
     1.5.dfsg+1.5.0.3-0ubuntu3 0
        500 http://archive.ubuntu.com dapper/main Packages

Changed in firefox:
status: Unconfirmed → Needs Info
Revision history for this message
Martin J Hooper (martinjh) wrote :

I was using firefox-bin to get some diagnostics as the script you mentioned was not loading FF either.

The file does exist on my system.

-rw-r--r-- 1 root root 620708 2006-09-21 11:27 /usr/lib/firefox/libmozjs.so

Revision history for this message
Daniel Robitaille (robitaille) wrote :

Running the firefox-bin binary directly is incorrect, and it will not work. I can reproduce this on my computer:

$ /usr/lib/firefox/firefox-bin
/usr/lib/firefox/firefox-bin: error while loading shared libraries: libmozjs.so: cannot open shared object file: No such file or directory

But what is the exact error you get when you run /usr/lib/firefox/firefox from the command line? It should work.

Revision history for this message
Martin J Hooper (martinjh) wrote :

Nothing at all. Just the prompt appearing again.

Firefox does not run at all. No hard disk activity I can see.

Revision history for this message
Martin J Hooper (martinjh) wrote :

Just remembered - The mozilla.com download doesn't work either. Tried the Ubuntu package just to make sure it wasn't something to do with the download.

Changed in firefox:
status: Needs Info → Unconfirmed
Revision history for this message
Martin J Hooper (martinjh) wrote :

Can you close this bug please - Found out that it is the self-compiled style/decoration that I was using that was stopping FF from loading for some reason.

Revision history for this message
Daniel Robitaille (robitaille) wrote :

Ok. Closing.

Changed in firefox:
status: Unconfirmed → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.