FF4 won't start on Fedora 8
When I start FF4 on Fedora 8, I am getting this error: ./firefox ./firefox-bin: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /tmp/firefox/libxul.so)
Indeed, libstdc++ supplied with Fedora 8 is old:
strings /usr/lib/libstdc++.so.6 | grep GLIBCXX GLIBCXX_3.4 GLIBCXX_3.4.1 GLIBCXX_3.4.2 GLIBCXX_3.4.3 GLIBCXX_3.4.4 GLIBCXX_3.4.5 GLIBCXX_3.4.6 GLIBCXX_3.4.7 GLIBCXX_3.4.8 GLIBCXX_FORCE_NEW
If I try to install libstdc++ from other distribution, I am getting other dependency problems (libc and others)
How do I run FF4 on Fedora 8?
被選擇的解決方法
http://forums.mozillazine.org/viewtopic.php?f=23&t=2075033
this solution works for me,hope it can provide you some help.
Firefox 4.0b9 and CentOS 5.5 Post a reply 10 posts • Page 1 of 1 rkl
Posts: 48 Joined: November 5th, 2002, 9:08 am
Post Posted January 15th, 2011, 12:20 pm I guess it had to come, especially with CentOS 6 only weeks away (and RHEL 6 already out), but it looks like an official beta release of Firefox (4.0b9) has now abandoned CentOS 5 :cry:
Firefox 4.0b8 worked on CentOS 5.5, but 4.0b9 has a problem with the revision of the C++ library and won't run out of the box. All is not lost though, because you can use Fedora 9's C++ library instead as follows (some of this may need sudo/root access):
1. Unpack the Firefox 4.0b9.tar.bz2 somewhere (e.g. /usr/local/firefox). With the "en_GB" release, I throw in a "dictionaries" sub-dir under there with en-GB.aff and en-GB.dic in there (and en-US.aff/.dic soft-linked to the en-GB ones) otherwise, sadly, Firefox 4 uses US spellings on what's supposed to be an en_GB release :-(
2. Download this 32-bit Fedora 9 libstdc++ RPM and unpack it with this command:
rpm2cpio libstdc++-4.3.0-8.i386.rpm | cpio -i --make-directories
3. Move the unpacked shared library into /usr/local/firefox thus:
mv usr/lib/libstdc++.so.6.0.10 /usr/local/firefox/libstdc++.so.6
Note: It's "usr/lib/libstdc++.so.6.0.10" above (i.e. the unpacked tree from the RPM, not the system /usr/lib tree) - do NOT put a leading slash there!
4. Run Firefox 4.0b9 with:
/usr/local/firefox/firefox
Hope this helps CentOS 5/RHEL 5 folks stranded without the latest Firefox 4 beta...
從原來的回覆中察看解決方案 👍 5所有回覆 (3)
選擇的解決方法
http://forums.mozillazine.org/viewtopic.php?f=23&t=2075033
this solution works for me,hope it can provide you some help.
Firefox 4.0b9 and CentOS 5.5 Post a reply 10 posts • Page 1 of 1 rkl
Posts: 48 Joined: November 5th, 2002, 9:08 am
Post Posted January 15th, 2011, 12:20 pm I guess it had to come, especially with CentOS 6 only weeks away (and RHEL 6 already out), but it looks like an official beta release of Firefox (4.0b9) has now abandoned CentOS 5 :cry:
Firefox 4.0b8 worked on CentOS 5.5, but 4.0b9 has a problem with the revision of the C++ library and won't run out of the box. All is not lost though, because you can use Fedora 9's C++ library instead as follows (some of this may need sudo/root access):
1. Unpack the Firefox 4.0b9.tar.bz2 somewhere (e.g. /usr/local/firefox). With the "en_GB" release, I throw in a "dictionaries" sub-dir under there with en-GB.aff and en-GB.dic in there (and en-US.aff/.dic soft-linked to the en-GB ones) otherwise, sadly, Firefox 4 uses US spellings on what's supposed to be an en_GB release :-(
2. Download this 32-bit Fedora 9 libstdc++ RPM and unpack it with this command:
rpm2cpio libstdc++-4.3.0-8.i386.rpm | cpio -i --make-directories
3. Move the unpacked shared library into /usr/local/firefox thus:
mv usr/lib/libstdc++.so.6.0.10 /usr/local/firefox/libstdc++.so.6
Note: It's "usr/lib/libstdc++.so.6.0.10" above (i.e. the unpacked tree from the RPM, not the system /usr/lib tree) - do NOT put a leading slash there!
4. Run Firefox 4.0b9 with:
/usr/local/firefox/firefox
Hope this helps CentOS 5/RHEL 5 folks stranded without the latest Firefox 4 beta...
You can also just get the 4.0 source code and rebuild it, without installing any additional libstdc++ shared libraries.
I was able to do this on Scientific Linux 5.5 (a free recompile of RHEL 5.5, should be very similar to Centos 5.5).
Hi,
Can you tell me the web link in getting the firefox source for linux?
I tried to search around but cannot find it.
Many thanks.
Peter