LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-06-2006, 12:23 PM   #1
nightrider
Member
 
Registered: Apr 2005
Location: Sao Paulo - Brazil
Distribution: Open Suse 12.1 64
Posts: 166

Rep: Reputation: 15
Firefox didn't run after Firefox 2 installation


I downloaded Firefox 2 -> firefox-2.0.tar.gz

Then I remove old firefox from Fedora with -> rpm -e firefox

Then I try to install firefox 2 ->
cd /usr/bin
tar -zxvf /home/ricardo/download/firefox-2.0.tar.gz

Then I try to run new firefox ->

[root@localhost bin]# cd firefox
[root@localhost firefox]# sh firefox
./firefox-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
[root@localhost firefox]# whereis libstdc++.so.5
libstdc++.so: /usr/lib/libstdc++.so.6
[root@localhost firefox]#

What do I do for put firefox operational again in my Fedora Core 5 running under VMWare player? (Warning! I was logged as root)

Greetings from Sao Paulo Brazil

Ricardo
 
Old 11-06-2006, 01:02 PM   #2
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
Erm, well, how about after you unpacked the source...

cd /usr/bin
tar -zxvf /home/ricardo/download/firefox-2.0.tar.gz


You go into the directory that just created, read the file called "README" and actually install it?

You probably wanted to use a .rpm file if you are not familiar with compiling a program from source.
 
Old 11-06-2006, 02:36 PM   #3
kstringham
LQ Newbie
 
Registered: Oct 2006
Posts: 22

Rep: Reputation: 15
Install Problem

I have the same problem. I unpacked all the items as recommended. The I went to the URL suggested for instructions. I DID NOT find any instructions.

Concerning an RPM, this code is not available as an RPM right now. It's only available as a tarball.

Ken

Last edited by kstringham; 11-06-2006 at 03:29 PM.
 
Old 11-07-2006, 07:58 AM   #4
nightrider
Member
 
Registered: Apr 2005
Location: Sao Paulo - Brazil
Distribution: Open Suse 12.1 64
Posts: 166

Original Poster
Rep: Reputation: 15
I created a symbolic link in the /usr/bin/firefox with the name libstdc++.so.5 pointing to /usr/lib/libstdc++.so.6 (this file is showed when I give the "whereis libstdc++.so.5").
Then I ran firefox again (as root) and receive the folowing messages:
=============================================================
[root@localhost firefox]# sh firefox
./firefox-bin: ./libstdc++.so.5: version `GLIBCPP_3.2' not found (required by ./firefox-bin)
./firefox-bin: ./libstdc++.so.5: version `CXXABI_1.2' not found (required by ./firefox-bin)
./firefox-bin: ./libstdc++.so.5: version `GLIBCPP_3.2' not found (required by ./libxpcom_core.so)
./firefox-bin: ./libstdc++.so.5: version `CXXABI_1.2' not found (required by ./libxpcom_core.so)
./firefox-bin: ./libstdc++.so.5: version `GLIBCPP_3.2' not found (required by ./libxpcom_compat.so)
[root@localhost firefox]#
=============================================================

Then I search for GLIBCPP_3.2 in Google and I find a lot of references talking about libstc++.so.5.

Would it possible to someone that have good skill to make some research over this informations?

Google link:
http://www.google.com/search?q=GLIBC...netscape:en-US

If you discover the solution and can pass it to me for apply in my Fedora Core 5 I would thank in advance.

Best regards

Ricardo
 
Old 11-07-2006, 08:28 AM   #5
twon
LQ Newbie
 
Registered: Jan 2006
Location: uk
Distribution: Ubuntu 10.10 x86_64
Posts: 14

Rep: Reputation: 0
unpack firefox2.tar.gz then copy the directory to the /usr/lib and copy the firefox.sh script (found within the firefox directory) to /usr/bin and than should do it. but i did have to modify the firefox.sh script to get mine to work
 
Old 11-07-2006, 02:03 PM   #6
nightrider
Member
 
Registered: Apr 2005
Location: Sao Paulo - Brazil
Distribution: Open Suse 12.1 64
Posts: 166

Original Poster
Rep: Reputation: 15
Would you show us the modifications done? They can be used as inspiration...
 
Old 11-08-2006, 03:09 AM   #7
my.dying.bride
LQ Newbie
 
Registered: Nov 2006
Distribution: Vector Soho Edition 5.1(Best yet)
Posts: 25

Rep: Reputation: 15
Time for Opera..
 
Old 11-08-2006, 10:39 AM   #8
nightrider
Member
 
Registered: Apr 2005
Location: Sao Paulo - Brazil
Distribution: Open Suse 12.1 64
Posts: 166

Original Poster
Rep: Reputation: 15
Nothing against Opera, since it opens all sites.

Try:

webmail.via-rs.com.br
www.banrisul.com.br

Cheers

Ricardo
 
Old 11-09-2006, 07:14 AM   #9
nightrider
Member
 
Registered: Apr 2005
Location: Sao Paulo - Brazil
Distribution: Open Suse 12.1 64
Posts: 166

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by kstringham
I have the same problem. I unpacked all the items as recommended. The I went to the URL suggested for instructions. I DID NOT find any instructions.

Concerning an RPM, this code is not available as an RPM right now. It's only available as a tarball.

Ken
==============================================================

I solve the trouble! I get libstdc++*.* from a Mandriva 2006 that I use at home, tar them transmit to here in my job, where I use Fedora Core 5. Then I untar them in the local /usr/lib.

Imediatelly Mozilla Firefox begin to run normally.

But I get a new trouble. I can't put a shortcut in the desktop. I tried to create a symbolic link in the Desktop but when I double click it, linux ask me if I want to execute or edit or...
When I choose execute, it opens a konsole window and runs Firefox OK, but, obviously, I can't close the konsole window.

Hey mr. Ken! If you want a copy of the tar.ga file that solves my trouble, please send an e-mail to nightrider43@gmail.com and I'll transmit it to you.

Best regards

Ricardo

P.S.: Thank you guys!
 
Old 11-10-2006, 10:10 AM   #10
kstringham
LQ Newbie
 
Registered: Oct 2006
Posts: 22

Rep: Reputation: 15
Fix?

Hi Ricardo,

Thank you for the offer. Please send me the tarball at the following address:

ae1x@yahoo.com

I'm not sure what I'm going to do with it at this point. I think that my wife of 25 years is about to leave me and should that happen, I'm going to scrap everything and be come a hermit.

It appears that my personal interests are a stubbling block between us. She has no real interest in what I do. She just wants me to sit all the time with her and do nothing or what ever comes to mind.

Ken
 
Old 11-10-2006, 01:52 PM   #11
twon
LQ Newbie
 
Registered: Jan 2006
Location: uk
Distribution: Ubuntu 10.10 x86_64
Posts: 14

Rep: Reputation: 0
Quote:
Originally Posted by twon
unpack firefox2.tar.gz then copy the directory to the /usr/lib and copy the firefox.sh script (found within the firefox directory) to /usr/bin and than should do it. but i did have to modify the firefox.sh script to get mine to work
after being confused why firefox didnt work i modifyed the firefox.sh script
i atlered the "moz_libdir=/usr/local/lib/firefox-2" to:
moz_libdir=/usr/lib/firefox
where i put the untared firefox directory and put the firefox.sh script in the /usr/bin
and this got firefox working for me
 
Old 11-10-2006, 05:19 PM   #12
nightrider
Member
 
Registered: Apr 2005
Location: Sao Paulo - Brazil
Distribution: Open Suse 12.1 64
Posts: 166

Original Poster
Rep: Reputation: 15
Great! Thank you.

But I solve the trouble in other way. Did you see my explanation?
 
Old 11-12-2006, 11:56 AM   #13
kstringham
LQ Newbie
 
Registered: Oct 2006
Posts: 22

Rep: Reputation: 15
I found a fix for this problem.

I'm using Fedora core 5. What I did was go through the software install section and found that I could add libstdc++.so. I installed this package and then executed ./firefox from within the firefox-2.0 directory in the path: /usr/lib/firefox-2.0.

Once this was accomplished, I got a message telling me that my 1.5.0.7 session had been interrupted and whether I wanted restore it or not. I selected no and it asked if I wanted firefox-2.0 to be my default browser. I selected yes and now it is my default browers, replacing version 1.5.0.7.

Ken
 
Old 11-16-2006, 09:35 PM   #14
Bugger
LQ Newbie
 
Registered: Dec 2005
Location: Hyderabad, India
Distribution: Red Hat, Fedora Core
Posts: 16

Rep: Reputation: 0
It worked perfect for me, I removed my Firefox1.5 from my Fedora-5. After this I untared the tarball in /usr/lib and simply typed ./firefox in /usr/lib/firefox-2.0... Thats it...
-BC
 
Old 11-17-2006, 04:26 AM   #15
kstringham
LQ Newbie
 
Registered: Oct 2006
Posts: 22

Rep: Reputation: 15
Congrads

Quote:
Originally Posted by Bugger
It worked perfect for me, I removed my Firefox1.5 from my Fedora-5. After this I untared the tarball in /usr/lib and simply typed ./firefox in /usr/lib/firefox-2.0... Thats it...
-BC
BC,

That's great news.

The problem that I had was related to an error message the I got when I followed this procedure. When I typed ./firefox, I was greated with a message that I was missing the libstdc++.so library.

I found this library in the normal install directory, installed in and then executed ./firefox and I was successful with the installation.

Ken
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox won't run? sigma957 Slackware 14 09-11-2008 11:43 AM
I can't get Firefox-2.0 to run Neko_D Linux - Software 20 10-29-2006 12:58 PM
Can't run firefox kosmonaft Slackware 9 09-15-2006 11:31 AM
cannot run firefox seriesx4 Linux - Newbie 4 09-23-2005 11:55 AM
I Cant Run The New Firefox ziggi Linux - Newbie 2 06-11-2005 11:28 PM


All times are GMT -5. The time now is 07:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration