Firefox and wrong ELF class error

If you running a system that newer than say 8 years your probably running a 64-bit processor. Now weather you're running a 64-bit OS is another story. Well if you're like me, you probably are running a 64-bit OS, linux of course!

Recently I had a little bit of time and wanted to make sure all my systems were up-to-date, starting with their browsers. Currently I am running Debian squeeze which comes with GNU browser Iceweasel and found out there is no recent update. However you can get the latest through Iceweasel's new name... IceCat. Well I didn't feel like using that so I decided to change to Firefox......

First thing I noticed was menu items were missing their outlines. Decided to check why by running the command in console which quickly lead me to the issue... firefox looking for 32-bit libraries in 64-bit directory. It's said to be fixed, however wasn't working for me.

So, if your trying to get Firefox to work on your 64-bit Debian and getting the following resembling errors while launching firefox through console:

Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/ wrong ELF class: ELFCLASS64

I suggest pointing your GTK_PATH for that session to the 32-bit libraries folder.

1. Open ''
2. Add the following to the top of script:

export GTK_PATH=/usr/lib32/gtk-2.0

That should fix the similar issue that I had. Your mileage may vary.

Comments (0) Trackbacks (0)

No comments yet.

Leave a comment

No trackbacks yet.