Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Αυτός ο ιστότοπος θα έχει περιορισμένη λειτουργικότητα, όσο εκτελούμε εργασίες συντήρησης για να βελτιώσουμε την εμπειρία σας. Αν ένα άρθρο δεν επιλύει το ζήτημά σας και θέλετε να κάνετε μια ερώτηση, η κοινότητα υποστήριξής μας είναι έτοιμη να σας βοηθήσει στο Twitter (@FirefoxSupport) και στο Reddit (/r/firefox).

Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Μάθετε περισσότερα

/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found

  • 6 απαντήσεις
  • 236 έχουν αυτό το πρόβλημα
  • 1 προβολή
  • Τελευταία απάντηση από PCNetSpec

more options

I am trying to run the firefox from firefox-4.0.tar.bz2 on CentOS 5.6 and get the error message,

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

Firefox does not start.

I thought having a copy of the library in the local directory would help, so I made a link:

ln -s /usr/lib/libstdc++.so.6.0.8 libstdc++.so.6

then I got the error message,

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

My version of glibc is:

$ rpm -q glibc glibc-2.5-58.el5_6.2 glibc-2.5-58.el5_6.2

I am trying to run the firefox from firefox-4.0.tar.bz2 on CentOS 5.6 and get the error message, ./firefox-bin: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by firefox/libxul.so) Firefox does not start. I thought having a copy of the library in the local directory would help, so I made a link: ln -s /usr/lib/libstdc++.so.6.0.8 libstdc++.so.6 then I got the error message, ./firefox-bin: /firefox/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by firefox/libxul.so) My version of glibc is: $ rpm -q glibc glibc-2.5-58.el5_6.2 glibc-2.5-58.el5_6.2

Επιλεγμένη λύση

Try:


  • Bug 621704 – Lib dep problem: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by .../libxul.so)

(please do not comment in bug reports; you can vote instead)

Ανάγνωση απάντησης σε πλαίσιο 👍 2

Όλες οι απαντήσεις (6)

more options

Επιλεγμένη λύση

Try:


  • Bug 621704 – Lib dep problem: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by .../libxul.so)

(please do not comment in bug reports; you can vote instead)

more options

Yes, that led to my solution. There was a lot of noise in the two links, but some solid signal. Ths solution came from dietux's reference in /questions/777306 Bug 621704 to http://forums.mozillazine.org/viewtopic.php?f=23&t=2075033 :

1. Download the Fedora 9 package of libstdc++-4.3.0-8.i386.rpm from http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/9/Fedora/i386/os/Packages/libstdc++-4.3.0-8.i386.rpm .

2. Unpack the package in your Firefox 4 directory with relative paths (does not require super user permissions):

[firefox]$ rpm2cpio libstdc++-4.3.0-8.i386.rpm | cpio -i --make-directories

3. Move the library and its link to the Firefox 4 directory:

[firefox]$ mv usr/lib/libstdc++.so.6* .

[NOTE: this is a RELATIVE path -- it has no leading slash.]

4. Run Firefox 4:

./firefox


Thank you for your help!


Craig

P.S. I do agree with the posters in [Bug 621704] that CentOS 5.x is NOT obsolete. The whole point of CentOS (and RHEL) is that it will be around for awhile. I left Fedora for CentOS because it changed too much.

more options

Thanks for this solution. Just run it on my Acer Aspire One - A150 and this has sorted it out - brilliant. I'd already tried to perform the update within Firefox to 4.0, and so I was left with a non responsive icon on the main screen.

Ran the commands for unpacking the libstdc* file, and putting it in place in the Firefox directory and it fired straight up.

more options

New instructions for installing Firefox 5 on an Acer Aspire One running Linpus Lite Linux, can be found here:

http://linuxforums.org.uk/netbooks/install-firefox-5-on-an-acer-aspire-one-running-linpus-lite-linux/

more options

New instructions for installing Firefox 6 on an Acer Aspire One running Linpus Lite Linux, can be found here:

http://linuxforums.org.uk/netbooks/install-firefox-6-on-an-acer-aspire-one-running-linpus-lite-linux/

more options

New instructions for installing Firefox 7 on an Acer Aspire One running Linpus Lite Linux can be found here:

http://linuxforums.org.uk/index.php?topic=9707.0