Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got a working ironhide setup (ubuntu 11.10). Most applications works fine with the nvidia-drivers (nvidia-current), but I can't get Google Earth (64bit .deb installed) working with or without optirun. Anyone know how to fix this?

ERROR: object '' from LD_PRELOAD cannot be preloaded: ignored. ./googleearth-bin: error while loading shared libraries: wrong ELF class: ELFCLASS64

share|improve this question
up vote 1 down vote accepted

Try the following command in a terminal:

optirun32 /opt/google/earth/free/google-earth

It works for me.

share|improve this answer
That did the trick! Thanks a lot :) – TopTenTiger Mar 8 '12 at 9:43

Google Earth is 32-bit.

On Ubuntu Oneiric and later, there is a different method to install 32-bit libraries. For

sudo apt-get install libgl1-mesa-glx:i386

I recommend Bumblebee over Ironhide, see How well do laptops with Nvidia Optimus work?

share|improve this answer
Thanks, is Ironhide not being maintained any longer? I have really no issues with Ironhide except I can't get Google Earth running. – TopTenTiger Jan 21 '12 at 11:28
Martin is very busy with other stuff, Currently, Bumblebee provides more stable features than Ironhide and the only missing thing is a UI, but that will be fixed in a later version. – Lekensteyn Jan 21 '12 at 11:37

Make sure ia32-libs is installed:

sudo apt-get install ia32-libs

What's sure is that you need the 32 bit version of libGL because Google still don't provide a 64 bit version of google-earth.

share|improve this answer
It says 64bit on the Google Earth download page, but I can try this. I'm just wondering if installing this package may cause havoc on my system since I've already got the 64bit version installed? – TopTenTiger Jan 17 '12 at 21:59
The "64bit " version you're referring to is a 32bit one linked to 32bit libraries, there's no real 64bit executable, that's why it's complaining about "wrong ELF class", therefore, you need ia32-libs. – Maxime R. Jan 17 '12 at 22:05
You shouldn't get any issue doing this not to mention it may already be installed. – Maxime R. Jan 17 '12 at 22:11
Seems ia32-libs is already installed on my system... – TopTenTiger Jan 18 '12 at 21:34
What gives you ldd /opt/google/earth/free/googleearth-bin |grep ? – Maxime R. Jan 19 '12 at 2:06

At first glance, the words "wrong ELF class: ELFCLASS64" seem to suggest that Google-earth is trying to load a 64-bit library whereas the Google-earth executable is actually 32-bit (or vice-versa).

What version of Ubuntu are you using (x86 or x86-64) and are you sure you're using the corresponding version of Google earth? The download page for Google earth offers both 32 and 64-bit versions. Download Google earth

share|improve this answer
Yes, I'm running x86-64 ubuntu and I've also installed 64bit version of Google Earth. – TopTenTiger Jan 17 '12 at 21:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.