After the google earth (<7) is installed in Ubuntu if you try to use “Fly to” box in the left panel of google earth, this error message will appear.This is due to an old libcurl version installed in Ubuntu 12.02.To overcome this problem, it is necessary to get rid of libcurl.so.4 file in /opt/google/earth/free/ folder .
For the safety we can re name this file as follows .
Open the terminal
sudo mv /opt/google/earth/free/libcurl.so.4 /opt/google/earth/free/backup_libcurl.so.4
Now you can fly to any place with out getting “invalid HTTP request” error notice