Google Earth on 64-bit Linux
Google Earth is a fun toy. But it's not always straightforward to get it to work on a 64-bit Linux (Ubuntu) system, since it's a 32-bit program, even when the .deb package says amd64. I wrote this post as a reminder for myself and others who run into similar problems.
* * *
Sometimes Google Earth wouldn't find a file called libGL.so.1:
term
./googleearth-bin: error while loading shared libraries: libGL.so.1:
cannot open shared object file: No such file or directoryYou can work around this by installing the 32-bit libraries and helping Google Earth find the file. Assuming your Earth installation is in ~/google-earth/:
term
$ sudo apt-get install ia32-libs
$ ln -s /usr/lib32/mesa/libGL.so.1 ~/google-earth/libGL.so.1* * *
Sometimes this cryptic error message would also show up:
term
/usr/bin/google-earth: 43: ./googleearth-bin: not foundLuckily, fixing it is easy:
term
$ sudo apt-get --reinstall install lsb-core libc6:i386