LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-26-2006, 03:30 PM   #1
Neko_D
Member
 
Registered: Oct 2006
Distribution: Ubuntu 6.10
Posts: 59

Rep: Reputation: 15
I can't get Firefox-2.0 to run


I recently Downloaded Firefox 2.0 onto my machine. And I cannot get it to run properly. I have tried moving it into the same directory as my firefox-1.5.0.7, under the name firefox-2.0, and it still will not run. I have tried following the instructions on this website --> http://www.brunolinux.com/03-Install..._in_Linux.html but it still will not run. What am I doing wrong? Keep in mind I want to keep my firefox-1.5.0.7 until I get firefox 2.0 up
 
Old 10-26-2006, 04:29 PM   #2
hradtke
Member
 
Registered: May 2006
Distribution: Fedora Core 6
Posts: 38

Rep: Reputation: 15
Can you be more specific about it not running properly? What directory is it installed in? Are you trying to fire off the bin file from terminal or using an icon from the desktop?
 
Old 10-26-2006, 05:07 PM   #3
Neko_D
Member
 
Registered: Oct 2006
Distribution: Ubuntu 6.10
Posts: 59

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by hradtke
Can you be more specific about it not running properly? What directory is it installed in? Are you trying to fire off the bin file from terminal or using an icon from the desktop?
I have installed it on /usr/lib/firefox-2.0 right beside usr/lib/firefox-1.5.0.7

Right now I am trying to run it as a command. Generally the command I run is /usr/lib/firefox-2.0/firefox. But when I run the command nothing happens the computer just sits there.
 
Old 10-26-2006, 05:15 PM   #4
hradtke
Member
 
Registered: May 2006
Distribution: Fedora Core 6
Posts: 38

Rep: Reputation: 15
interesting choice to place firefox. you may think about moving it to the /usr/bin folder as it really isnt a library. semantics though...

first lets check to make sure firefox isn't running
do "ps -ef | grep firefox"

the only think you should see is your grep process "grep firefox"
if you see anything else you should kill the process (or restart your computer if you are not comfortable killing them).

if, and once, you are clean, run firefox using the command you posted, but either append the command with a "&" (/usr/lib/firefox-2.0/firefox &) or open another terminal window. type "ps -ef | grep firefox" again and see if it is trying to open it.

if you do not see anything, the bin file is not getting executed. if you do see something but it is freezing there may be a problem with the file itself.
 
Old 10-26-2006, 05:56 PM   #5
tidiman07
Member
 
Registered: Apr 2006
Distribution: Kubuntu 8.04
Posts: 129

Rep: Reputation: 15
only thing i can think of is to check to see if the firefox script is executable,
to hradtke: even if firefox was running, you can still open several of them at same time.
you should have been able to just extract firefox, no matter where it is, and then run the firefox script- from terminal of course.
 
Old 10-26-2006, 06:08 PM   #6
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,900
Blog Entries: 29

Rep: Reputation: 537Reputation: 537Reputation: 537Reputation: 537Reputation: 537Reputation: 537
Just put 2.0 in /usr/bin , /opt or your home, then create a desktop shortcut pointing to firefox in that folder. You also need to create a new profile for it otherwise it will use the same profile as 1.5.0.7 which will likely cause problems.
 
Old 10-27-2006, 12:22 AM   #7
hradtke
Member
 
Registered: May 2006
Distribution: Fedora Core 6
Posts: 38

Rep: Reputation: 15
Quote:
Originally Posted by tidiman07
only thing i can think of is to check to see if the firefox script is executable,
to hradtke: even if firefox was running, you can still open several of them at same time.
you should have been able to just extract firefox, no matter where it is, and then run the firefox script- from terminal of course.
right, but if for some reason there were existing processing of firefox running, i did not want that messing up the test.
 
Old 10-27-2006, 11:23 AM   #8
Neko_D
Member
 
Registered: Oct 2006
Distribution: Ubuntu 6.10
Posts: 59

Original Poster
Rep: Reputation: 15
Ok.. so I ran this command

/usr/lib/firefox-2.0/firefox -script

and this was the result... ummm I am a bit confused on what exactly it means. Cause I am sure that I have libstdc++
/usr/lib/firefox-2.0/firefox-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
 
Old 10-27-2006, 12:23 PM   #9
Hugh Jass
Member
 
Registered: Feb 2005
Location: Manitoba
Distribution: SuSe, PCLinuxOS,Mint,Debian
Posts: 74

Rep: Reputation: 15
I had the same problem but it's fixed now.

How do you create a new profile?
 
Old 10-27-2006, 12:34 PM   #10
hradtke
Member
 
Registered: May 2006
Distribution: Fedora Core 6
Posts: 38

Rep: Reputation: 15
Quote:
Originally Posted by Neko_D
Ok.. so I ran this command

/usr/lib/firefox-2.0/firefox -script

and this was the result... ummm I am a bit confused on what exactly it means. Cause I am sure that I have libstdc++
/usr/lib/firefox-2.0/firefox-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
Please show us the output of the following commands:
ldd /usr/lib/firefox-2.0/firefox-bin
ls /usr/lib/libstdc++*

Also, what linux distro are you using?
 
Old 10-27-2006, 12:35 PM   #11
hradtke
Member
 
Registered: May 2006
Distribution: Fedora Core 6
Posts: 38

Rep: Reputation: 15
Quote:
Originally Posted by Hugh Jass
I had the same problem but it's fixed now.

How do you create a new profile?
http://www.mozilla.org/support/firefox/profile#new

Google and ye shall find.
 
Old 10-27-2006, 12:39 PM   #12
Neko_D
Member
 
Registered: Oct 2006
Distribution: Ubuntu 6.10
Posts: 59

Original Poster
Rep: Reputation: 15
ldd /usr/lib/firefox-2.0/firefox-bin
linux-gate.so.1 => (0x0093a000)
libmozjs.so => not found
libxpcom.so => not found
libxpcom_core.so => not found
libplds4.so => /usr/lib/libplds4.so (0x45d08000)
libplc4.so => /usr/lib/libplc4.so (0x45d01000)
libnspr4.so => /usr/lib/libnspr4.so (0x462dd000)
libpthread.so.0 => /lib/libpthread.so.0 (0x466bd000)
libdl.so.2 => /lib/libdl.so.2 (0x46584000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x4533c000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x4523b000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x44a87000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x44a6d000)
libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0x45219000)
libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0x4520b000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x452f1000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x449d9000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x45e15000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x45c6d000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x4658a000)
libm.so.6 => /lib/libm.so.6 (0x4655d000)
libsmime3.so => /usr/lib/libsmime3.so (0x463c9000)
libssl3.so => /usr/lib/libssl3.so (0x46ca8000)
libnss3.so => /usr/lib/libnss3.so (0x46b47000)
libsoftokn3.so => /usr/lib/libsoftokn3.so (0x46af1000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x45bdb000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x44777000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x466fa000)
libXt.so.6 => /usr/lib/libXt.so.6 (0x470fe000)
libXft.so.2 => /usr/lib/libXft.so.2 (0x44751000)
libxpcom_compat.so => not found
libstdc++.so.5 => not found
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4676a000)
libc.so.6 => /lib/libc.so.6 (0x46428000)
/lib/ld-linux.so.2 (0x45b9b000)
libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x45331000)
libcairo.so.2 => /usr/lib/libcairo.so.2 (0x44e14000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x46696000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x45c4f000)
libXi.so.6 => /usr/lib/libXi.so.6 (0x45e35000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x45c54000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x45c61000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x45c5a000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x452c7000)
libz.so.1 => /usr/lib/libz.so.1 (0x466a8000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x46689000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x4668e000)
libexpat.so.0 => /lib/libexpat.so.0 (0x447b6000)
libSM.so.6 => /usr/lib/libSM.so.6 (0x466ef000)
libICE.so.6 => /usr/lib/libICE.so.6 (0x466d3000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x45be6000)

/usr/lib/libstdc++*
/usr/lib/libstdc++-20060727.so.7 /usr/lib/libstdc++.so.6
/usr/lib/libstdc++-20060727.so.7.0.0 /usr/lib/libstdc++.so.6.0.8

I use Fedora 5

Last edited by Neko_D; 10-27-2006 at 12:41 PM.
 
Old 10-27-2006, 01:48 PM   #13
Adrian Baker
Member
 
Registered: Apr 2004
Distribution: PCLinuxOS 2007 on my laptop and Suse 10.2 on my desktop.
Posts: 341

Rep: Reputation: 30
Just click on the 'Firefox' script in your /usr/lib/firefox-2.0 folder.

Firefox is a self contained program that runs from wherever you put it. Try the above and see what happens.
 
Old 10-27-2006, 02:08 PM   #14
Neko_D
Member
 
Registered: Oct 2006
Distribution: Ubuntu 6.10
Posts: 59

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Adrian Baker
Just click on the 'Firefox' script in your /usr/lib/firefox-2.0 folder.

Firefox is a self contained program that runs from wherever you put it. Try the above and see what happens.
I click and click and nothing happens.
 
Old 10-27-2006, 02:49 PM   #15
hradtke
Member
 
Registered: May 2006
Distribution: Fedora Core 6
Posts: 38

Rep: Reputation: 15
Obviously, some people are not reading the thread.

Anyways, the problem is now clear.

Firefox is compiled against a library you cannot find:
libstdc++.so.5 => not found

You have libstdc++.so.6 unfortunately.

For a quick fix, you could try creating a symlink to fake out firefox, but I have no idea what firefox is using in that library and what changes took effect in the newer library that you have. To do this, go to the /usr/lib directory and type "ln -s libstdc++.so.6 libstdc++.so.5".

Otherwise, you need to backport the version of the library. Did you upgrade recently?
 
  


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
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
can't run firefox ( libmozjs.so ) titanium_geek Linux - Software 7 07-22-2005 08:44 PM
I Cant Run The New Firefox ziggi Linux - Newbie 2 06-11-2005 11:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:25 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
Open Source Consulting | Domain Registration