Tuesday, November 30, 2010

Fedora - Google Earth: /opt/google-earth/libIGGfx.so ... Permission denied

Your install of Google Earth went fine ...

But then when you try to run Google earth, you get an error something like this:
/opt/google-earth/libIGGfx.so ... Permission denied.

Or you may find this in your /var/log/messages:
Nov 30 09:49:42 lost setroubleshoot: SELinux is preventing /opt/google-earth/googleearth-bin "execmod" access to /opt/google-earth/libIGGfx.so. For complete SELinux messages. run sealert -l e4e45dc0-14cf-49dc-af60-8c8e7e916bdf

Don't worry, just run as root:
# cd /opt/google-earth
# for file in `ls /opt/google-earth` ; do echo "SeLinux type in " $file; chcon -t textrel_shlib_t $file; done
You may still have problems like I did if you are behind a proxy.

so I added this to the beginning of the command to launch google earth:
env http_proxy=http://my.favorite.proxy.com:8080

so now the launch command is:
env http_proxy=http://my.favorite.proxy.com:8080 /opt/google-earth/googleearth %f

Hope that helps.

No comments: