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

  ./googleearth-bin: error while loading shared libraries:
  cannot open shared object file: No such file or directory

You 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/:

$ sudo apt-get install ia32-libs
$ ln -s /usr/lib32/mesa/ ~/google-earth/

* * *

Sometimes this cryptic error message would also show up:

/usr/bin/google-earth: 43: ./googleearth-bin: not found

Luckily, fixing it is easy:

$ sudo apt-get --reinstall install lsb-core libc6:i386

1 comment:

  1. Hm I can't remember, but I think I faced this problem also with Debian Lenny. I guess it was also 64 Bit but it's to long ago. I did it this way:


Please browse through the FAQ first, it might be that your question is already answered.

Spammers have even found comments sections, so this comments section is pre-moderated; it will take some time for the comment to show up.