Find the answer to your Linux question:
Results 1 to 3 of 3
I have extracted the firefox.tar.gz file, I cd'd into the firefox directory, and tried ./firefox, and I get the error message: ./firefox-bin: error while loading shared libraries: libstdc++.so.5: cannot open ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2007
    Posts
    18

    Firefox 2.1 Install


    I have extracted the firefox.tar.gz file, I cd'd into the firefox directory, and tried ./firefox, and I get the error message:

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

    On the mozilla site it says that this is like this because of having other firefox windows opened, I closed all firefox windows, rebooted, tried this again, and got the same message. Does anyone know how to fix this? Thanks.

  2. #2
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211
    Quote Originally Posted by developer_dave
    ./firefox-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
    You are missing the proper library.

    You should have a package in your distribution called something like libstdc++.so.5. Simply install it.
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  3. #3
    Just Joined!
    Join Date
    Mar 2007
    Posts
    18
    I did a yum install libstdc++.so.5 and firefox worked after that. Thanks for your help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •