Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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: ld.so: object 'librrfaker.so' from LD_PRELOAD cannot be preloaded: ignored. ./googleearth-bin: error while loading shared libraries: libGL.so.1: wrong ELF class: ELFCLASS64

share|improve this question

4 Answers 4

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 libGL.so:

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
1  
Martin is very busy with other stuff, martin-juhl.dk/2012/01/ironhide-is-sleeping-but-not-forever. 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 libGL.so ? –  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

 
discard

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.