You are not logged in.

#1 2014-01-12 19:05:12

sguertin
Member
Registered: 2013-12-23
Posts: 20

[SOLVED] Installing Google Earth, ld-lsb

I ran into some trouble installing Google Earth, but fixed it. I'll write up what I did here.

After installing the dependencies listed on the AUR page, one dependency, ld-lsb, was only available through the AUR. I installed it as normal (download the tarball, untar, run makepkg). I think I got version 3-7

I then edited the pkgbuild of google-earth. Twice, it references ld-lsb>=3-5 , which seems to be bad syntax. I removed the >=3.5, knowing I had an okay version. I also had to remove a reference to ld-lsb later in the PKGBUILD file. Everything appeared to install fine after that.

To run google earth, I ran ~/AUR-builds/google-earth/pkg/google-earth/opt/google/earth/free/googleearth, but that gave me the error message

./googleearth: line 43: ./googleearth-bin: No such file or directory

This appears to mean that googleearth-bin doesn't exist, but it does exist. The real problem is that googleearth-bin is a binary that references a file that doesn't exist. I looked inside with vim, and got mostly gibberish, but I found this:

@^@^@^@/lib64/ld-lsb-x86-64.so.3^@^@^@

(^@ is vim's way of showing non-ascii characters.)

I checked /lib64, and I didn't have a file ld-lsb-x86-64.so.3. This was the file that didn't exist, not googleearth-bin, but because it was in a binary, it couldn't give more information.

Digging around in my ld-lsb installation, which I put in ~/AUR-builds/ld-lsb/, I found a symlink

 ~/AUR-builds/ld-lsb/pkg/ld-lsb/usr/lib/ld-lsb-x86-64.so.3 -> ld-linux-x86-64.so.2

ld-linux-x86-64.so.2 did exist in /lib64/.

So I added a symlink in /lib64

$ cd /lib64
$ sudo ln -s ld-linux-x86-64.so.2 ld-lsb-x86-64.so.3

Now the file exists, and google earth can be run from ~/AUR-builds/google-earth/pkg/google-earth/opt/google/earth/free/googleearth

Offline

Board footer

Powered by FluxBB