LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-28-2010, 04:02 PM   #1
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,919

Rep: Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494
Google Earth and Ubuntu 10.04 Dell 1545n laptop


Google Earth runs with no problems on my Slackware box. Download the binary, chmod the executable flag, run the installation, bing, bang, boom.

I have not yet gotten it to run on my Dell 1545 Ubuntu v. 10.04 laptop (Celeron 2.16 GHz 2 GB RAM). With Google Earth v. 4, the best I could do is to get it to run once. Then it would not run again: the program would start, but would stop before the picture of the earth loaded from the Google server.

After installing Google Earth v. 5 successfully on my Slackware desktop yesterday, I tried again. Both computers are connecting through the same router; the Slackware box is wired, the Ubuntu is wireless.

After the installation routine finished, it presented me with the option to start the application immediately. I clicked "Yes" and the installation dialog window went away, then nothing happened.

I tried running it from a terminal as root and got an error that GLIBCXXX.3.4.9 was missing.

I found this link which suggested I delete or rename these two files in the installation directory (/opt/google-earth): libstdc++.so.6 and libgcc_s.so.1.

I renamed them to *.old; after I did that, the program started from the command line, but crashed before loading while the startup tip window is showing (I hate startup tips with a passion). I was still under su rights ("sudo su").

This LQ post suggests disabling the startup tips, but the display did not last long enough for me to point the mouse at the checkbox, let alone click anything.

But all that was yesterday. Today it got truly weird.

Today, while I was drafting this post in Gedit (I wanted to have all the details correct), I tried sudo googleearth from the terminal and now it runs; I seem to have full functionality. The computer has not been rebooted: uptime=2 days, 17:41.

When I start it from the command line as user, though, it loads but does not load the maps.

It does not throw any errors when started by user. It just chokes.

Here's the ls on /opt/google-earth/googleearth; it is the same on both computers:

Code:
ls -l googleearth
-rwxr-xr-x 1 root root 1308 2010-09-27 17:48 googleearth
I've attached a screen shot of what happens when I try to start it as user. I don't consider this an urgent problem, because, frankly, Google Earth is a toy for me. A really nice fun toy, but still a toy.

Any thoughts?
Attached Images
File Type: jpg gearth.jpg (23.7 KB, 13 views)
 
Old 10-15-2010, 07:44 AM   #2
van_Zeller
LQ Newbie
 
Registered: Sep 2010
Location: Lisbon, Portugal
Distribution: Ubuntu, Lubuntu
Posts: 16

Rep: Reputation: 0
Hello,

I've had this problem (black screen, no planet) while running ubuntu. I believe the cause of this was that you clicked "yes" immediately after the instalation finished. At this point you were root, I'm guessing. There is your problem. So instead of clicking to start the program immediately, instead exit the installer and call the program manually from your "start menu" equivalent. This worked for me.

https://help.ubuntu.com/community/GoogleEarth

EDIT: perhaps you will need to uninstall+reinstall.

Last edited by van_Zeller; 10-15-2010 at 07:46 AM.
 
Old 10-15-2010, 08:55 PM   #3
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,919

Original Poster
Rep: Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494
I will remove the program, reinstall it, and test out this idea sometime this weekend.

Thanks.

No one in my LUG had any suggestions either, and it's full of old Unix heads who really know their stuff.
 
Old 10-21-2010, 12:14 PM   #4
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,919

Original Poster
Rep: Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494
Before I got around to testing this, I updated to Meerkat. I don't know if that had any bearing on what happened next.

I did the following:

Removed Google Earth using /opt/goole-earth/uninstall.

Tried to reinstall it from the original downloaded file and it crashed with this error:

Code:
Verifying archive integrity... All good.
Uncompressing Google Earth for GNU/Linux 5.2.1.1588..............................................................
setup.data/setup.xml:1: parser error : Document is empty

^
setup.data/setup.xml:1: parser error : Start tag expected, '<' not found

^
Couldn't load 'setup.data/setup.xml'
Deleted the downloaded file and got a new copy from the Google mothership. No change. (Googling revealed a number of links regarding the same error, so I can take comfort in knowing its not just me.)

Found this thread on the Ubuntu forums and grabbed the deb from Medibuntu.

Installed it with Gdebi.

Result: No change in behavior: Runs with sudo, hangs before the globe appears when started by user.

Curiouser and curioser.

It works, so it's hardly a crisis, but it's inelegant to have to run a user app with sudo.
 
Old 12-06-2010, 09:23 PM   #5
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,919

Original Poster
Rep: Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494Reputation: 1494
I've figured this out.

I have been experimenting with rsync so as to automate backups from my laptop (my primary computer) to my file server.

rsync threw errors about the directory /home/[username]/.config/google.

That directory was owned by root.

I changed the ownership of that directory and all its files recursively to [username] and now [username] can start GoogleEarth with no problems.

Yesterday, I changed the ownership of /home/[username]/.googleearth and all its contents recursively, but that was not enough.
 
  


Reply

Tags
google earth, ubuntu.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install Google Earth to Ubuntu 8.10 - Newbie freykatt Linux - Software 14 12-22-2012 11:58 PM
[SOLVED] Google Earth in Ubuntu a13x06 Linux - Software 16 08-03-2010 12:50 PM
Google earth on ubuntu belladivediva Ubuntu 6 04-28-2009 12:05 PM
want to delete google earth from ubuntu 8.04 j d Linux - General 2 06-02-2008 10:00 AM
google earth and frostwire for ubuntu 1.7 gibney Linux - Newbie 5 03-07-2008 07:14 AM


All times are GMT -5. The time now is 11:42 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration