Ubuntu – How to correct Google Earth’s “invalid HTTP request” notice

12.04google earthhttps

I am running Ubuntu 12.04. As you might know Google Earth 7 doesn't work in Ubuntu 12.04 yet.

I installed Google Earth via make-googleearth-package --force command. My installation was successful. At the beginning everything was working fine. But after some days I had a problem. When I type in "Fly to" box a city I wanted to search for it. It gives me "invalid HTTP request" error as seen in the picture:

Google-Earth picture

How to solve?

P.S: I removed and reinstalled it but problem still persists. I can search globe via mouse only.

Best Answer

This is due to an old libcurl version, that seems to cause the trouble. If you already have libcurl on your system (and I am pretty sure Ubuntu 12.04 has), you can simply rename the libcurl coming with Google Earth like this:

sudo mv /usr/lib/googleearth/libcurl.so.4 /usr/lib/googleearth/backup_libcurl.so.4

And the problem should be gone (the path in my Linux Mint and probably other distributions is /opt/google/earth/free/libcurl.so.4).

Related Question