为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

FF4 won't start on Fedora 8

more options

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?

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)

more options

选择的解决方案

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...

more options

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).

more options

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