LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   install firefox 5 (https://www.linuxquestions.org/questions/linux-software-2/install-firefox-5-a-894450/)

casualzone 07-29-2011 04:35 AM

install firefox 5
 
try to install firefox5, i got the error message as below:

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

linux version:
Linux mypc 2.6.18-238.el5 #1 SMP Sun Dec 19 14:22:44 EST 2010 x86_64 x86_64 x86_64 GNU/Linux

after i search, i have downloaded libstdc++-4.6.0-9.fc15.i686.rpm from website.
invoke the command below:
rpm2cpio libstdc++-4.6.0-9.fc15.i686.rpm | cpio -idmv

The rpm does not work, it give me very long machine files

j?b- | һY?ѳ5 ( ( ??s46%?{? < QI3 > .?un??L0%?7@uk??BT?*RƩ? ; պD?x?s?f7?i\H?Q?Ms{6I.Tw??


May i know how to resolve this?

casualzone 07-29-2011 04:45 AM

yum search libstdc++.so.6
Loaded plugins: rhnplugin, security
*Note* Red Hat Network repositories are not listed below. You must run this command as root to access RHN repositories.
base 3429/3429
custom 2/2
rpmforge-dag 10722/10722
Excluding Packages from EPEL-5Client - EPEL Repos
Finished
Excluding Packages from Red Hat Enterprise 5Client - RPMforge.net - dag
Finished
Warning: No matches found for: libstdc++.so.6
No Matches found

knudfl 07-29-2011 08:29 AM

A later libstdc++.so.6 : version "gcc-4.3.2" will do : libstdc++6-4.3.2-1.i386.rpm
The package provides /usr/local/c++4.3/ libstdc++.so.6 libstdc++.so.6.0.10
(The EL5 system libstdc++.so.6 in /usr/lib/ is too old.
And should not be replaced, I think.)


libstdc++6-4.3.2-1.i386.rpm can be downloaded here
https://docs.google.com/uc?id=0B7S25...nload&hl=en_US

.. And firefox-5.0.1 will start OK with this command :
cd firefox/ && export LD_LIBRARY_PATH=/usr/local/c++4.3:/usr/lib:/lib && ./firefox

The "export line" can also be added to the 'firefox' start script, line 52.
Then the start command is plain ./firefox

..

casualzone 08-01-2011 09:28 PM

i think i need 64bit rpm..
i got to search from net

casualzone 08-01-2011 09:37 PM

hardly to find for RHEL x64 rpm for that package.
can i download the mandriva distro rpm?
http://rpm.pbone.net/index.php3?stat...c%2B%2B6&field[]=1&field[]=2

knudfl 08-02-2011 09:55 AM

Quote:

Can I download the mandriva ... rpm ?
Please do not try to install any alien packages, not meant for EL 5 !

Firefox-5.0.1 is a 32bits application. Works OK on EL 5, 64bits x86_64.


EL 5, 64bits x86_64 :
1) # rpm -Uvh libstdc++6-4.3.2-1.i386.rpm && exit
2) cd firefox/ && export LD_LIBRARY_PATH=/usr/local/c++4.3 && ./firefox


Remark : This post was written in firefox-5.0.1, EL5 64bits.

..


All times are GMT -5. The time now is 07:03 PM.