LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-11-2012, 11:44 AM   #1
threaderslash
Member
 
Registered: Dec 2008
Location: HongKong
Distribution: Fedora/Centos/RedHat
Posts: 115

Rep: Reputation: 15
Lightbulb Firefox doesn't install


I have some trouble with Firefox. Here is what I got:

Code:
# cd /opt/firefox

# ./firefox-bin
XPCOMGlueLoad error for file /opt/firefox/libxpcom.so:
libxul.so: cannot open shared object file: No such file or directory
Couldn't load XPCOM.
The same message appears if I try to:

Code:
# yum install thunderbird
I search the file libxpcom.so, and was directed to install the xulrunner.
Code:
# rpm -ivh xulrunner-7.0.1-1.fc16.src.rpm
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
So, the firefox isn't installed yet.

All comments and suggestions are welcome and highly appreciated.
 
Old 02-11-2012, 02:40 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
ok, so 1) ignore all "SRC" rpm's, that's source code and won't help you here.

If you're running FC16, just run "sudo yum install firefox" and it'll sort it all out.
 
1 members found this post helpful.
Old 02-11-2012, 06:33 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
firefox is installed by default on fedora 16 ( all versions of fedora)
there is no need to install it

also do not start ff from that "firefox-bin" file it is the wrong one

from the gnome menu click on the icon
or if KDE click on the firefox icon in the kde menu

or from the terminal
there is NO need to go to /opt/firefox
that is not where it is installed in fedora
/usr/bin is

just type in this and only this
Code:
firefox
 
1 members found this post helpful.
Old 02-12-2012, 03:31 AM   #4
threaderslash
Member
 
Registered: Dec 2008
Location: HongKong
Distribution: Fedora/Centos/RedHat
Posts: 115

Original Poster
Rep: Reputation: 15
Lightbulb

Thanks for the feeback.

Yes... firefox comes installed. But I got problem with some of my bookmark and to clean the act, I deinstalled the firefox and deleted my profile.

Then tried to reinstall with yum first:

Code:
# yum install firefox

Error: Package: libavcodec52-0.7.10-50.fc16.x86_64 (@atrpms)
           Requires: libvpx.so.0()(64bit)
           Removing: libvpx-0.9.7.1-1.fc16.x86_64 (@anaconda-0)
               libvpx.so.0()(64bit)

# /usr/bin/firefox
-bash: /usr/bin/firefox: No such file or directory
Can you suggest some workaround?
 
Old 02-12-2012, 04:33 AM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
turn off the ATrpm repo you installed
it is mostly incompatible with other repos like RPMFusion

the ATrpm repo is giving you the error

also next time do not uninstall a program just to undo settings
for Firefox rename one folder and restart FF
~/.mozilla/firefox
to
~/.mozilla/firefox-old
 
1 members found this post helpful.
Old 02-12-2012, 05:25 AM   #6
threaderslash
Member
 
Registered: Dec 2008
Location: HongKong
Distribution: Fedora/Centos/RedHat
Posts: 115

Original Poster
Rep: Reputation: 15
Lightbulb

Hi John.

I also got a look in this tutorial about repo: http://www.fedoraforum.org/forum/showthread.php?t=26925 .

Here is what I got in /etc/yum.repos.d:

Code:
# grep -i "lib" /etc/yum.repos.d/*
# grep -i "cod" /etc/yum.repos.d/*
# 

# ls
adobe-linux-x86_64.repo      google.repo                  rpmfusion-free-updates-testing.repo
atrpms.repo                  google-talkplugin.repo       rpmfusion-nonfree-rawhide.repo
fedora.repo                  livna.repo                   rpmfusion-nonfree.repo
fedora-updates.repo          ria.repo                     rpmfusion-nonfree-updates.repo
fedora-updates-testing.repo  rpmfusion-free-rawhide.repo  rpmfusion-nonfree-updates-testing.repo
google-chrome.repo           rpmfusion-free.repo          skype.repo
google-earth.repo            rpmfusion-free-updates.repo  virtualbox.repo

# nano atrpms.repo
[atrpms]
name=Fedora $releasever - $basearch - ATrpms
baseurl=http://dl.atrpms.net/f$releasever-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
enabled=0
gpgcheck=1
Even the command grep gave no show of having libavcodec in any of the file inside repo directory.

Some suggestion about libavcodec52-0.7.10-50.fc16.x86_64 (@atrpms)? I could not find it.

Thanks.

Last edited by threaderslash; 02-12-2012 at 08:42 AM.
 
Old 02-12-2012, 03:17 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
Even the command grep gave no show of having libavcodec in any of the file inside repo directory.
the program "libavcodec" is NOT installed in the TEXT file for the software repository "ATrpm"

that error you posted states that that version FROM ATrpm is incompatible

--- libavcodec52-0.7.10-50.fc16.x86_64 (@atrpms) -- from ATrpm
needs a file called " libvpx.so.0 also from ATrpm but is trying to remove the version FROM the install dvd

you have incompatible versions of software installed

also "grep" is NOT the command to use to see what repos are installed and are on or off
read the yum man page
Code:
man yum
then to see what repos are being used
Code:
yum repolist all

without knowing just what was installed and how you installed them
i can only guess
first run
Code:
rpm -qa | grep at
that should give you a output of what was installed from ATrpm
then start removing them
-- example --
Code:
su -
yum uninstall libavcodec52
if you are going to use ATrpm repo you then ONLY USE THAT ONE AND ONLY THAT ONE and NO OTHERS not even the fedora updates
ATrpm changes some of the BASE system files to a different version , versions that are incompatible with the fedora base install

now with caution you can use it but for individual programs only and with caution
 
1 members found this post helpful.
Old 02-13-2012, 02:21 AM   #8
threaderslash
Member
 
Registered: Dec 2008
Location: HongKong
Distribution: Fedora/Centos/RedHat
Posts: 115

Original Poster
Rep: Reputation: 15
Lightbulb

Thanks man! You just saved the day.

As suggested... Here it goes:

Code:
# yum remove libavcodec52

Removed:
  libavcodec52.x86_64 0:0.7.10-50.fc16                                                                                    

Dependency Removed:
  cinelerra.x86_64 0:2.1-24.2_git20110613.fc15_88
Then...

Code:
yum install firefox -y
I am glad to have firefox up and running again.
 
  


Reply

Tags
firefox, troubleshooting


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
LXer: Firefox 9 Is 30% Faster Than Firefox 8 | Install Firefox 9 On Ubuntu 11.10 and Earlier Release LXer Syndicated Linux News 0 12-30-2011 03:50 PM
LXer: Firefox 8 is 20% Faster than Firefox 5, Install Firefox 8 in Ubuntu via PPA LXer Syndicated Linux News 0 07-21-2011 09:31 PM
LXer: Install Firefox 5 Beta in Ubuntu from the Firefox Next PPA LXer Syndicated Linux News 1 06-11-2011 07:38 PM
VMware 2.0 Remote Console doesn't install on firefox 2 or 3 lumix Linux - Software 1 11-19-2008 12:29 AM
How to install Firefox 2.0 (doesn't appear in adept) BigFoot13 Linux - Software 1 11-02-2006 07:48 PM

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

All times are GMT -5. The time now is 06:00 PM.

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