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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
10-26-2006, 03:30 PM
|
#1
|
Member
Registered: Oct 2006
Distribution: Ubuntu 6.10
Posts: 59
Rep:
|
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
|
|
|
10-26-2006, 04:29 PM
|
#2
|
Member
Registered: May 2006
Distribution: Fedora Core 6
Posts: 38
Rep:
|
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?
|
|
|
10-26-2006, 05:07 PM
|
#3
|
Member
Registered: Oct 2006
Distribution: Ubuntu 6.10
Posts: 59
Original Poster
Rep:
|
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.
|
|
|
10-26-2006, 05:15 PM
|
#4
|
Member
Registered: May 2006
Distribution: Fedora Core 6
Posts: 38
Rep:
|
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.
|
|
|
10-26-2006, 05:56 PM
|
#5
|
Member
Registered: Apr 2006
Distribution: Kubuntu 8.04
Posts: 129
Rep:
|
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.
|
|
|
10-26-2006, 06:08 PM
|
#6
|
Senior Member
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,900
|
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.
|
|
|
10-27-2006, 12:22 AM
|
#7
|
Member
Registered: May 2006
Distribution: Fedora Core 6
Posts: 38
Rep:
|
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.
|
|
|
10-27-2006, 11:23 AM
|
#8
|
Member
Registered: Oct 2006
Distribution: Ubuntu 6.10
Posts: 59
Original Poster
Rep:
|
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
|
|
|
10-27-2006, 12:23 PM
|
#9
|
Member
Registered: Feb 2005
Location: Manitoba
Distribution: SuSe, PCLinuxOS,Mint,Debian
Posts: 74
Rep:
|
I had the same problem but it's fixed now.
How do you create a new profile?
|
|
|
10-27-2006, 12:34 PM
|
#10
|
Member
Registered: May 2006
Distribution: Fedora Core 6
Posts: 38
Rep:
|
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?
|
|
|
10-27-2006, 12:35 PM
|
#11
|
Member
Registered: May 2006
Distribution: Fedora Core 6
Posts: 38
Rep:
|
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.
|
|
|
10-27-2006, 12:39 PM
|
#12
|
Member
Registered: Oct 2006
Distribution: Ubuntu 6.10
Posts: 59
Original Poster
Rep:
|
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.
|
|
|
10-27-2006, 01:48 PM
|
#13
|
Member
Registered: Apr 2004
Distribution: PCLinuxOS 2007 on my laptop and Suse 10.2 on my desktop.
Posts: 341
Rep:
|
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.
|
|
|
10-27-2006, 02:08 PM
|
#14
|
Member
Registered: Oct 2006
Distribution: Ubuntu 6.10
Posts: 59
Original Poster
Rep:
|
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.
|
|
|
10-27-2006, 02:49 PM
|
#15
|
Member
Registered: May 2006
Distribution: Fedora Core 6
Posts: 38
Rep:
|
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?
|
|
|
All times are GMT -5. The time now is 08:25 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|