LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Error running firefox-26 in Debian 7.1 (https://www.linuxquestions.org/questions/linux-software-2/error-running-firefox-26-in-debian-7-1-a-4175480109/)

jamison20000e 10-08-2013 11:29 PM

Error running firefox-26 in Debian 7.1
 
Code:

uname -a
Linux debian 3.10-3-amd64 #1 SMP Debian 3.10.11-1 (2013-09-10) x86_64 GNU/Linux

tar xjf firefox-*.tar.bz2

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

When I run this next command iceweasel opens:
Code:

LD_DEBUG=all firefox > firefoxlog
I tried uninstalling iceweasel but still no go? Checked everything here but don't fully yet understand all the output from the link at the end (env is clean.)

Thanks for any thoughts...

AlucardZero 10-09-2013 08:07 AM

Quote:

libdbus-glib-1.so.2: cannot open shared object file: No such file or directory
Search for that file: http://packages.debian.org/search?se...sting&arch=any

Is libdbus-glib-1-2 installed?
If firefox is 32-bit, is libdbus-glib-1-2:i386 installed?

jamison20000e 10-09-2013 08:53 AM

Hi AlucardZero Thanks: libdbus-glib-1-2 shows up installed but not as 32bit version(?) I put
Code:

deb http://ftp.de.debian.org/debian jessie main
and still don't see a 32b file available, also:
Code:

cat /etc/apt/sources.list
#

# deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD Binary-1 20130615-23:06]/ wheezy contrib main

# deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD Binary-1 20130615-23:06]/ wheezy contrib main

# Line commented out by installer because it failed to verify:
# deb http://security.debian.org/ wheezy/updates main contrib
# Line commented out by installer because it failed to verify:
# deb-src http://security.debian.org/ wheezy/updates main contrib

# wheezy-updates, previously known as 'volatile'
# A network mirror was not selected during install.  The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
# deb http://ftp.debian.org/debian/ wheezy-updates main contrib
deb http://http.us.debian.org/debian/ wheezy non-free
deb http://http.debian.net/debian wheezy main
deb-src http://http.debian.net/debian wheezy main
deb http://http.debian.net/debian wheezy-updates main
deb-src http://http.debian.net/debian wheezy-updates main
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
deb http://ftp.us.debian.org/debian/ testing main
deb-src http://ftp.us.debian.org/debian/ testing main
deb http://ftp.debian.org/debian experimental main
# deb-src http://ftp.debian.org/debian experimental main
deb http://ftp.de.debian.org/debian jessie main
# deb-src http://ftp.de.debian.org/debian jessie main
# deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib

in Synaptic under libdbus-glib-1-2 <Properties> <Installed Files>
/.
/usr
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libdbus-glib-1.so.2
/usr/lib/x86_64-linux-gnu/libdbus-glib-1.so.2.2.2
/usr/share
/usr/share/doc
/usr/share/doc/libdbus-glib-1-2
/usr/share/doc/libdbus-glib-1-2/AUTHORS
/usr/share/doc/libdbus-glib-1-2/NEWS.gz
/usr/share/doc/libdbus-glib-1-2/README
/usr/share/doc/libdbus-glib-1-2/changelog.Debian.gz
/usr/share/doc/libdbus-glib-1-2/changelog.gz
/usr/share/doc/libdbus-glib-1-2/copyright
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/libdbus-glib-1-2

could it be multiarch?

AlucardZero 10-09-2013 10:46 AM

I assumed Jessie/Sid from the 3.10 kernel. If you're running Wheezy, don't just blindly add Jessie as a source.
libdbus-glib-1-2 is in Wheezy too.
Again, *if* the version of Firefox you are trying to run is 32-bit (check with `file firefox`), then you need to install the 32-bit version of libdbus-glib-1-2 (at least). Search on 'debian multiarch' for directions on how to enable it.

jamison20000e 10-09-2013 11:26 AM

Last time I ran 'file firefox' it gave me the same as kekules_dream 'firefox is/firefox' but now:
Code:

firefox: ELF 32-bit LSB  executable, Intel ..., version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, BuildID[sha1]=..., stripped
maybe from adding xulrunner-25.0 or something but thanks again I will look into it more...

jamison20000e 10-09-2013 12:21 PM

I would not mark this solved by far but this works :D


All times are GMT -5. The time now is 07:19 PM.