Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top


I am trying to install Firefox 12 on Debian Squeeze x86_64. I have extracted the contents of the compressed Firefox downloadable into the /opt directory and have marked the files /opt/firefox/firefox and /opt/firefox/firefox-bin as executable. This is similar to the procedure outlined in the question How to install real Firefox on Debian 6? asked here before. However, when I try to run Firefox by issuing the command /opt/firefox/firefox I get the following error:

XPCOMGlueLoad error for file /opt/firefox/ cannot open shared object file: No such file or directory
Couldn't load XPCOM.

Attempted Solution

I tried to print the shared libraries required by using ldd and got the following response: =>  (0xf778a000) => /lib32/ (0xf775a000) => not found => /usr/lib32/ (0xf7756000) => /usr/lib32/ (0xf7752000) => /usr/lib32/ (0xf771e000) => /lib32/ (0xf771a000) => not found => /usr/lib32/ (0xf7624000) => /lib32/ (0xf75fe000) => /usr/lib32/ (0xf75e0000) => /lib32/ (0xf7499000)
/lib/ (0xf778b000)

It is clear that and are not found. However, I noticed these are present in /opt/firefox folder which resulted from the extraction. Digging a little further I noticed that is also present in /usr/lib/xulrunner-1.9.1/

I tried setting the environment variable LD_LIBRARY_PATH to /opt/firefox but still got the same error.


  1. How can I ask the firefox executable to look in a specific directory for the libraries it was not able to find?
  2. Do you think setting the LD_LIBRARY_PATH shell variable is the recommended approach to solving such problems in Debian. I am asking this because I feel Debian has more structured solutions to similar problems, rather than just setting some environment variables (for example, the Alternatives System, although it may not be relevant to this particular problem).

Thank you.

share|improve this question

The Debian team has everything packaged up for you so that you don't have to download and install the thing by hand. Please check out : there's everything you need there :).

share|improve this answer
I had a look at that page earlier. I have Iceweasel set up that way, but I would really like to be able to install the branded Firefox version to be able to see the differences (if any) first hand. Thank you for the tip anyways. :) – Varun Vats May 28 '12 at 6:45

if you have downloaded firefox from its site probabely you got 32bit version!, try mozilla ftp for latest 64bit version or check list of all releases for any specific version.

share|improve this answer

I don't know about you, but whenever I try to use IceWeasel, its throwing me back to the firefox 3.5-equiv. version, I don't want that personally.

one way you can get the 'real' firewfox is by using this repo:

deb debian import

the only thing I hate about this repo is, its not in English, which is odd seeing that its from Mint Linux. but you can go to the link below and you can get the English pack.

hope this helped.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .