summarylogtreecommitdiffstats
path: root/googleearth
blob: f5a6c18d097c08c4a453be48605ae75a5e8d3f9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
# Always run Google Earth from this shell script and not directly!
# This script makes sure the app looks in the right place for libraries
# that might also reside elsewhere.
#
# Ryan C. Gordon,  Thu Jul 20 14:32:33 PDT 2006

# We alredy know the path
cd /opt/google/earth/free

## Fix the coordinates regression:
## http://productforums.google.com/forum/#!msg/earth/dlzBfGl4eKM/723naNYBo30J
#export LC_NUMERIC=en_US.UTF-8

# Fix Panoramio along with certain crashes
LD_PRELOAD=/usr/lib/libfreeimage.so.3:./baifaao.so:/usr/lib/libpng15.so \
LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ./googleearth-bin "$@"