Installing Firefox5 in linux (redhat, centos)

Source: Internet
Author: User
Put the downloaded file under/root/, decompress it, and generate the firefoxfolder tarjxvffirefox-latest.tar.bz2 to the specified directory, the/usr/lib/has the original default version of firefox-3.0.5 cp-r/root/firefox // usr/lib/next step is to create...

Put the downloaded file under/root/, decompress it first, and generate the firefox folder.
Tar jxvf Firefox-latest.tar.bz2
 
Put it in the specified directory, the/usr/lib/has the original default version of the firefox-3.0.5?
Cp-r/root/firefox // usr/lib/
The next step is to create a link to/usr/bin. In this way, you can enter firefox in the terminal to respond.
Cd/usr/bin/
It turns out that there is an executable program firefox which we will back up .. Mv firefox _ 3.0.5 _ BK
Create a new connection ln-s/usr/lib/firefox

At this point, you can use ubuntu and other common systems.
However, running the firefox tag in redhat cannot enter firefox.
Run the command line./firefox and the following error is reported:./firefox
/Usr/lib/firefox-bin:/usr/lib/libstdc ++. so.6: version 'glibcxx _ 3.4.9 'not found (required by/usr/lib/firefox/libxul. so)
 
Searched
Root @ dev # rpm-q -- provides libstdc ++
Ibstdc ++ = 4.1.1-52. el5
Libstdc ++. so.6
Libstdc ++. so.6 (CXXABI_1.3)
Libstdc ++. so.6 (CXXABI_1.3.1)
Libstdc ++. so.6 (GLIBCXX_3.4)
Libstdc ++. so.6 (GLIBCXX_3.4.1)
Libstdc ++. so.6 (GLIBCXX_3.4.2)
Libstdc ++. so.6 (GLIBCXX_3.4.3)
Libstdc ++. so.6 (GLIBCXX_3.4.4)
Libstdc ++. so.6 (GLIBCXX_3.4.5)
Libstdc ++. so.6 (GLIBCXX_3.4.6)
Libstdc ++. so.6 (GLIBCXX_3.4.7)
Libstdc ++. so.6 (GLIBCXX_3.4.8)
Libstdc ++ = 4.1.2-48. el5
Libstdc ++ = 4.1.1-52. el5
Libstdc ++. so.6 () (64bit)
Libstdc ++. so.6 (CXXABI_1.3) (64bit)
Libstdc ++. so.6 (CXXABI_1.3.1) (64bit)
Libstdc ++. so.6 (GLIBCXX_3.4) (64bit)
Libstdc ++. so.6 (GLIBCXX_3.4.1) (64bit)
Libstdc ++. so.6 (GLIBCXX_3.4.2) (64bit)
Libstdc ++. so.6 (GLIBCXX_3.4.3) (64bit)
Libstdc ++. so.6 (GLIBCXX_3.4.4) (64bit)
Libstdc ++. so.6 (GLIBCXX_3.4.5) (64bit)
Libstdc ++. so.6 (GLIBCXX_3.4.6) (64bit)
Libstdc ++. so.6 (GLIBCXX_3.4.7) (64bit)
Libstdc ++. so.6 (GLIBCXX_3.4. 8) (64bit)
Libstdc ++ = 4.1.2-48. el5
No GLIBCXX for 3.4.9
 
Root @ dev # whereis libstdc ++. so.6
Libstdc ++. so:/usr/lib/libstdc ++. so.5/usr/lib/libstdc ++. so.6

Root @ dev # ll/usr/lib | grep libstdc
Libstdc ++. so.6-> libstdc ++. so.6.0.8
Libstdc ++. so.6.0.8
At least libstdc ++. so.6.10 is required for GLIBCXX_3.4.9.
Then we need to install libstdc ++. so.6.10.
Download libstdc ++. so.6.10

Copy libstdc ++. so.6.10 to/usr/lib /.
Delete libstdc ++. so.6-> libstdc ++. so.6.0.8
 
Create another ln-s libstdc ++. so.6.0.10 libstdc ++. so.6
You can enter firefox4 after running firefox ~~~~~~~~~~~~~
If not, log out.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.