LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-30-2013, 03:43 AM   #1
lemon09
Member
 
Registered: Jun 2009
Location: kolkata,India
Distribution: Mandriva,openSuse,Mint,Debian
Posts: 285
Blog Entries: 1

Rep: Reputation: 37
firefox not running


lately firefox in my mandriva machine is not working. every time i click on the icon of the firefox nothing works. i try to run it from the konsole and it reads like the following:

Code:
[lemon@localhost ~]$ firefox
XPCOMGlueLoad error for file /home/lemon/Applications/firefox 13/libxpcom.so:
libxul.so: cannot open shared object file: No such file or directory
Couldn't load XPCOM.
Please help...
 
Old 01-30-2013, 03:52 AM   #2
zszymanski
LQ Newbie
 
Registered: Jun 2012
Location: Poland
Posts: 7

Rep: Reputation: Disabled
It looks like the libxpcom.so library can not be find. Could you verify that this file exists? Second quess is that it is placed in a custom directory, which is not in the library search path.
 
Old 01-30-2013, 03:54 AM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,089

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
Quote:
/home/lemon/Applications/firefox 13/
please upgrade to the current firefox
firefox 18.0.1

starting in 14 firefox now AUTO installs the updates

Quote:
libxul.so: cannot open shared object file: No such file or directory
well that says it all

the lib is missing
 
Old 01-30-2013, 04:16 AM   #4
lemon09
Member
 
Registered: Jun 2009
Location: kolkata,India
Distribution: Mandriva,openSuse,Mint,Debian
Posts: 285
Blog Entries: 1

Original Poster
Rep: Reputation: 37
@ zszymanski : yes it is placed in the custom directory.

Now the problem is I am pretty much sure that the files exists in the directory. just have a look at the following.

Code:
[lemon@localhost firefox]$ ls | grep libx
libxpcom.so
libxul.so*

[lemon@localhost firefox]$ ./firefox
XPCOMGlueLoad error for file /home/lemon/Applications/firefox/libxpcom.so:
libxul.so: cannot open shared object file: No such file or directory
Couldn't load XPCOM.
[lemon@localhost firefox]$
now this seems to be a problem. it appears that the files exist in the directory and then when i try to run the application nothing works. it has to be noted that everything was fine until yesterday. suddenly the problem arose.
 
Old 01-30-2013, 05:17 AM   #5
zszymanski
LQ Newbie
 
Registered: Jun 2012
Location: Poland
Posts: 7

Rep: Reputation: Disabled
Execute following command:
ldconfig -p
and look for the libxpcom.so. If it is not there you should probably add the path to the directory in file /etc/ld.so.conf or /etc/ld.so.conf.d (depending on your distribution).

If you dont have root permissions try to add
LD_LIBRARY_PATH=/home/lemon/Applications/firefox:$LD_LIBRARY_PATH
in your ~/.bash_profile file
 
Old 01-30-2013, 05:36 AM   #6
lemon09
Member
 
Registered: Jun 2009
Location: kolkata,India
Distribution: Mandriva,openSuse,Mint,Debian
Posts: 285
Blog Entries: 1

Original Poster
Rep: Reputation: 37
@ zszymanski:
i don't understand how this could be a solution if i am sure that everything was fine until yesterday. yet i shall try it.
 
Old 01-30-2013, 06:46 AM   #7
lemon09
Member
 
Registered: Jun 2009
Location: kolkata,India
Distribution: Mandriva,openSuse,Mint,Debian
Posts: 285
Blog Entries: 1

Original Poster
Rep: Reputation: 37
sorry....
no results!!!!
 
Old 01-30-2013, 08:31 AM   #8
jkirchner
Member
 
Registered: Apr 2007
Location: West Virginia
Distribution: LinuxMint
Posts: 775

Rep: Reputation: 199Reputation: 199
Quote:
now this seems to be a problem. it appears that the files exist in the directory and then when i try to run the application nothing works. it has to be noted that everything was fine until yesterday. suddenly the problem arose.
This is interesting. Was new software installed, or updates or some other significant change made before this issue occurred?
 
Old 01-30-2013, 08:44 AM   #9
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Might be some config. file(s) got corrupted for firefox. You can try to move current .mozilla directory and then launch firefox again. It will generate a new and fresh one, as:
Code:
~$ mv .mozilla .mozilla.back
~$ firefox &
~$ ls -la .mozilla
 
Old 01-30-2013, 11:53 AM   #10
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,089

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
one other thing

it was firefox 13 ( not 14) that started "auto updating"

firefox might be trying to download and install the upgrade but unable to do so do to file permissions

Warning:
for one time use this is fine
DO NOT DO THIS ALL THE TIME

run ff as root
Code:
su -
---- your root password when asked --
firefox
the default site is the mozilla web site

under "help" click on "about firefox"

it might say " restart to install update" ff 18.0.1
 
Old 01-30-2013, 02:34 PM   #11
lemon09
Member
 
Registered: Jun 2009
Location: kolkata,India
Distribution: Mandriva,openSuse,Mint,Debian
Posts: 285
Blog Entries: 1

Original Poster
Rep: Reputation: 37
thanks for all of your suggestions but unfortunatly nothing worked.
@shivaa - tried that too but even that was in vain.
@John VV - i even tried running ff as root but the same error persists.

recently i downgraded it to ff 10.0.4 and then finally it opens. the problem exists with versions 13 and above.
so is there any way i can try the new versions without difficulties???
 
Old 01-30-2013, 02:43 PM   #12
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,089

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
have you used the "run-mozilla.sh"
that sets the system variables

variables that i normally set in /etc/profile.local
such as "LD_LIBRARY_PATH"

i do not use the version of ff that is in ( opensuse12.2,SL6.3 ) i install the custom built 64 bit
firefox and seamonkey
--- en language FF 64 bit
http://releases.mozilla.org/pub/mozi...-x86_64/en-US/

so i add the install folder(s) to $PATH and $LD_LIBRARY_PATH in /etc/profile.local

starting FF with that script will for, the session , do the same .
 
Old 01-31-2013, 10:32 PM   #13
Kallaste
Member
 
Registered: Nov 2011
Distribution: Slackware
Posts: 359

Rep: Reputation: 85
This probably won't help you, but the exact same thing happened to me several times about six to eight months ago. I had had a hard drive burn out on me and I temporarily replaced it with an old small one, and I kept running out of space on the disk whenever I wanted to download something. And each time this happened, Firefox would refuse to start in exactly the way you are seeing. It always fixed itself when I made some room on the disk.

I'm not saying this is the same problem you're having, but maybe it will be a clue to someone who understands computer organization better than I currently do.

I was running Xubuntu, by the way.
 
Old 02-07-2013, 08:21 AM   #14
lemon09
Member
 
Registered: Jun 2009
Location: kolkata,India
Distribution: Mandriva,openSuse,Mint,Debian
Posts: 285
Blog Entries: 1

Original Poster
Rep: Reputation: 37
Quote:
Originally Posted by BloomingNutria View Post
This probably won't help you, but the exact same thing happened to me several times about six to eight months ago. I had had a hard drive burn out on me and I temporarily replaced it with an old small one, and I kept running out of space on the disk whenever I wanted to download something. And each time this happened, Firefox would refuse to start in exactly the way you are seeing. It always fixed itself when I made some room on the disk.

I'm not saying this is the same problem you're having, but maybe it will be a clue to someone who understands computer organization better than I currently do.

I was running Xubuntu, by the way.
I really don't think that might be a problem because there is ample space for that.
 
  


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
Windows running Firefox more secure than linux running it? moxieman99 General 14 04-04-2009 10:12 AM
Can't get Firefox running 9nine9 Fedora 5 11-25-2007 05:59 PM
Running Firefox halw Ubuntu 1 06-28-2006 09:05 PM
Firefox is already running. . . slackwarefan Linux - Software 3 12-27-2005 06:56 PM
running firefox mrrrl Linux - Newbie 5 03-30-2005 06:00 PM


All times are GMT -5. The time now is 02:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration