LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 11-11-2012, 09:12 PM   #1
mike4ty4
Member
 
Registered: May 2010
Posts: 33

Rep: Reputation: 0
How can one install Firefox on Debian 64-Bit?


Hi.

So we downloaded and untarred Firefox on one of our 64-bit Debian machines. But when I attempt to run it, I get errors like

"XPCOMGlueLoad error for file /home/kumari/firefox-16/firefox/libxpcom.so:
libxul.so: cannot open shared object file: No such file or directory
Couldn't load XPCOM."

So, after getting that error, I decided to add /usr/lib32 to my LD_LIBRARY_PATH and also /home/kumari/firefox-16/firefox (the directory where the Firefox has been untarred to) as well. This changes the error to

"XPCOMGlueLoad error for file /home/kumari/firefox-16/firefox/libxpcom.so:
libdbus-glib-1.so.2: cannot open shared object file: No such file or directory
Couldn't load XPCOM."

Then, I added /usr/lib. Then the error became (apparently it found the file, but...)

"XPCOMGlueLoad error for file /home/kumari/firefox-16/firefox/libxpcom.so:
libdbus-glib-1.so.2: wrong ELF class: ELFCLASS64
Couldn't load XPCOM."

This last error appears to be a 32-bit/64-bit incompatibility issue. What should I do? If I need 32-bit versions of the libraries, does this mean I'll have to download and compile a whole lot from source, or can I install Debian 32-bit packages on Debian 64-bit (precompiled)?

Last edited by mike4ty4; 11-11-2012 at 09:18 PM.
 
Old 11-11-2012, 10:29 PM   #2
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,733
Blog Entries: 12

Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
download the 64bit version
https://ftp.mozilla.org/pub/mozilla....16.0.2.tar.bz2

or just use Iceweasel
$ apt-cache policy iceweasel
iceweasel:
Installed: 16.0.2-1
Candidate: 16.0.2-1
Version table:
*** 16.0.2-1 0
1 http://ftp.us.debian.org/debian/ experimental/main i386 Packages
100 /var/lib/dpkg/status
10.0.10esr-1 0
500 http://ftp.us.debian.org/debian/ unstable/main i386 Packages

if you are on Stable use backports for the ESR version and mozilla.debian.net for the current release.
 
2 members found this post helpful.
Old 11-11-2012, 10:30 PM   #3
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,434

Rep: Reputation: 1192Reputation: 1192Reputation: 1192Reputation: 1192Reputation: 1192Reputation: 1192Reputation: 1192Reputation: 1192Reputation: 1192
Hi,

why are you trying to install 32 bit binaries on a 64 system? Where did you get the tar file from?

Please also note that although some people really do want the firefox binaries provided by mozilla, for most uses, the rebranded version of firefox that comes with Debian is fine. Have you tried using "iceweasel" instead?

Evo2.
 
1 members found this post helpful.
Old 11-21-2012, 04:33 PM   #4
mike4ty4
Member
 
Registered: May 2010
Posts: 33

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by craigevil View Post
download the 64bit version
https://ftp.mozilla.org/pub/mozilla....16.0.2.tar.bz2

or just use Iceweasel
$ apt-cache policy iceweasel
iceweasel:
Installed: 16.0.2-1
Candidate: 16.0.2-1
Version table:
*** 16.0.2-1 0
1 http://ftp.us.debian.org/debian/ experimental/main i386 Packages
100 /var/lib/dpkg/status
10.0.10esr-1 0
500 http://ftp.us.debian.org/debian/ unstable/main i386 Packages

if you are on Stable use backports for the ESR version and mozilla.debian.net for the current release.
Getting the 64-bit version worked. Wonder why the main download link didn't give it...
 
  


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
How to Install Firefox , Google Talk, and/or Adobe Flash on x64 bit Debian type distros SYANiDE LinuxAnswers Discussion 0 09-28-2011 05:48 PM
[SOLVED] TUTORIALS: Install Firefox , Google Talk, and/or Adobe Flash on x64 bit Debian types SYANiDE Linux - Software 2 08-17-2011 12:49 PM
Firefox 3/ All essential plugins/ Debian Lenny 64 Bit/ Will work on 32 bit also lindylex LinuxAnswers Discussion 0 07-27-2009 01:58 PM
Upgrade a 32 bit Debian install to 64 bit buggabill Linux - Software 3 08-20-2007 02:05 PM
LXer: Howto install Flash, Java, Real Player 32 bit plugins under 64 bit Firefox LXer Syndicated Linux News 0 03-16-2007 11:31 PM


All times are GMT -5. The time now is 03:06 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration