FedoraThis forum is for the discussion of the Fedora Project.
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.
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.
Distribution: fedora (7,9), solaris (sxde 9/07 & 1/08), opensolaris 2008.05
Posts: 49
Rep:
Firefox 3 on Fedora 7
I am using fedora 7 and trying to install firefox 3. I have downloaded 'firefox-3.0.tar.bz2' from here ,then un-tur that file.
I can't get what should I do next.. That directory contains some *.so files ,a firefox-bin file , a run-mozilla.sh file and some others. I tried to execute them which results :
Quote:
[ritwik@ritwik ~]$ cd /home/ritwik/Desktop/firefox
[ritwik@ritwik firefox]$ ./firefox-bin
./firefox-bin: error while loading shared libraries: libjemalloc.so: cannot open shared object file: No such file or directory
[ritwik@ritwik firefox]$ ./run-mozilla.sh
run-mozilla.sh: Cannot execute .
'libjemalloc.so' --- that shared object file was present in that directory , but that error was coming !!
Please help me solve this issue.
I am sorry if I am posting in a wrong forum ... 'software' section may be more suitable... in that case I will request the administrators to kindly move this post.
Last edited by rithik_ghoshal; 06-22-2008 at 02:06 AM.
Haven't done 3 yet but worked this out for 2.x versions so probably same for 3:
Difference to be noted is this was based on tar.gz files and you said you have a tar.bz2 file. Instead of "z" for the tar command you'd use "j" (e.g. tar xzvf below should be changed to tar xjvf) to handle the bzip2 format.
Look in /usr/lib to see if an earlier package exists - if it doesn't have version number suffix you may need to save it.
Unbundle the package to /usr/lib:
e.g.
cd /usr/lib
tar xzvf /root/thunderbird.2.0.0.0.tar.gz
This should create a directory with the install usually without the version.
e.g.
/usr/lib/thunderbird
So you'll know later you should renamed the directory with the version:
e.g.
mv /usr/lib/thunderbird /usr/lib/thunderbird.2.0.0.0
Make a link (check for existing executable first and save it if desired):
e.g.
which thunderbird
Shows: /usr/bin/thunderbird
mv /usr/bin/thunderbird /usr/bin/thunderbird.old
ln -s /usr/lib/thunderbird.2.0.0.0/thunderbird /usr/bin/thunderbird
At that point you should just be able to start the application by typing the command at the prompt:
e.g.
thunderbird
Try the yum method instead or get xulrunner and firefox-3 packages from http://rpms.famillecollet.com/fc8.i386/repoview/. I got no problem w/
that (and firefox3 stands besides to firefox2, no conflict unless you
want to return to ffx2).
And to getting FlashPlayer working follow these instructions :
Indeed there are substitutes and alternatives, but IHMO / experience,
> none of them are as good as Flash 9.
>
> The way I got this to work reliably on 64-bit F9 was to read and follow
> the instructions on Section 10.5.1 of the F9 Release Notes. You can even
> copy / paste the specific commands to complete the task if you like.
>
> For the sake of convenience, the F9 US English Release Notes are found
> at:
>
> http://docs.fedoraproject.org/release-notes/f9/en_US/
I had no problems in FC8 using the FC9 instructions.
rithik_ghoshal, please do the following as root user.
1) mv firefox-3.0.tar.bz2 /opt
2) cd /opt
3) tar xjf firefox-3.0.tar.bz2
4) Check if /usr/lib/firefox already exists and if it is a symlink or directory. IE: "ls -l /usr/lib/firefox"
If it exists then do "mv /usr/lib/firefox /usr/lib/firefox.old"
Then do "ln -s /opt/firefox /usr/lib/firefox"
You should now have your default firefox binary pointing to your new installation where you can run /usr/bin/firefox and it will launch firefox.
rithik_ghoshal, please do the following as root user.
1) mv firefox-3.0.tar.bz2 /opt
2) cd /opt
3) tar xjf firefox-3.0.tar.bz2
4) Check if /usr/lib/firefox already exists and if it is a symlink or directory. IE: "ls -l /usr/lib/firefox"
If it exists then do "mv /usr/lib/firefox /usr/lib/firefox.old"
Then do "ln -s /opt/firefox /usr/lib/firefox"
You should now have your default firefox binary pointing to your new installation where you can run /usr/bin/firefox and it will launch firefox.
Ya but people who don't understand how to untar a file, and run the underlying binary will most likely need the instructions written with the same filename they are using. Your instructions, while correct, was written using "Thunderbird" as the application. A newb would see that and write something like "but I'm talking about firefox". Either way we'll have to wait and see if this person understands any of what we explained
Distribution: fedora (7,9), solaris (sxde 9/07 & 1/08), opensolaris 2008.05
Posts: 49
Original Poster
Rep:
Thank you all for your help and support. I am extremely sorry as I am replying really too late.
@shafty023, Thanks a lot for understanding the problem of the newbie and your solution worked fine for me to install firefox 3 in my system. I really don't know what's the difference between using the graphical window to extract a *.tar.bz2 file and using the command "tar xjf *.tar.bz2".Please let me know.
Running the underlying binary was really unwise , actually I was trying everything possible..
Thank you all for your help and support. I am extremely sorry as I am replying really too late.
@shafty023, Thanks a lot for understanding the problem of the newbie and your solution worked fine for me to install firefox 3 in my system. I really don't know what's the difference between using the graphical window to extract a *.tar.bz2 file and using the command "tar xjf *.tar.bz2".Please let me know.
Running the underlying binary was really unwise , actually I was trying everything possible..
Thank you again !!!
No problem glad I could help. There really is no difference between using the graphical window and using the tar command in a terminal. Except that in a terminal window you can use root to place it in a root owned directory like /opt whereas the graphical window is being run by an unprivileged user which doesn't have write access to /opt. Just means you'd need to add a couple steps to move it.
The place you were having an issue is you were trying to run the wrong binaries. You don't run ./firefox-bin or ./run-mozilla.sh . You should have run ./firefox . But since we created the symlink you can now use /usr/bin/firefox or better yet you can just type "firefox" and it will launch Firefox.
Distribution: Fedora on servers, Debian on PPC Mac, custom source-built for desktops
Posts: 174
Rep:
You execute the file firefox, not firefox-bin. This will not copy it to /usr/lib/blah, but it will run it OK. If you want it in the old folder, back up your old folder, then delete the contents of the firefox folder, not the folder, and copy the new files there. You will have to do this as root, to get into Nautilus in root mode...
su -
nautilus --browser /usr/lib
Of course, you probably knew that. Just in case you are a noob.
Keep in mind Firefox 3.5 can act weird under fedora 7, so make sure you keep your old version, or reinstall it if it acts up.
bendib ??? did you realize that THE LAST POST BEFORE YOURS is 1.5 years OLD !06-25-08, 10:05 AM
and fedora 7 is WAY past it's "end of life" and unsupported !
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.