Archive for March, 2011

FireFox 4

If you just download the firefox tar, then you’ll get an error:

 ./firefox-bin: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

or

./firefox-bin: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /home/cameron/firefox/libxul.so)

To fix this follow these steps.

cd ~
download the file: firefox-4.0.tar.bz2
tar xvf firefox-4.0.tar.bz2
cd firefox
download the fedora rpm: libstdc++
rpm2cpio libstdc++-4.3.0-8.i386.rpm | cpio -i --make-directories
#note the lack of / at front of usr/lib in the line below
mv usr/lib/libstdc++.so.6* .
rmdir usr/lib usr

hope that helps..

Cameron
Check out my new HTML5 app at: http://imagebot.com

I get the following when I install firefox 4 on ubuntu:

exec: 398: firefox/firefox-bin: not found

Ubuntu

If you are trying to install firefox 4 for ubuntu, you also need

sudo apt-get install ia32-libs

It’s about 40meg, and after that you can either run it from the command line (firefox/firefox) or double click on “firefox” from gnome.