Bug 212780 - astro/google-earth: Fails to start
Summary: astro/google-earth: Fails to start
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Tijl Coosemans
URL: https://forums.freebsd.org/threads/57...
Keywords: patch
Depends on:
Blocks:
 
Reported: 2016-09-18 00:18 UTC by Tobias Kortkamp
Modified: 2016-11-04 20:40 UTC (History)
3 users (show)

See Also:


Attachments
google-earth.diff (722 bytes, patch)
2016-09-18 00:18 UTC, Tobias Kortkamp
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Kortkamp freebsd_committer freebsd_triage 2016-09-18 00:18:39 UTC
Created attachment 174896 [details]
google-earth.diff

Google Earth fails to start with

> ELF interpreter /lib/ld-linux.so. not found, error 2

The attached patch could fix this, but I find it very odd that the binary looks for /lib/ld-linux.so. instead of /lib/ld-linux.so.2 in the first place.  Maybe this is a deeper problem.
Comment 1 Walter Schwarzenfeld 2016-09-19 19:12:01 UTC
bugs 212780.

But it does not help for me, I got
./googleearth-bin: error while loading shared libraries: 
libstdc++.so.6: wrong ELF class: ELFCLASS64
Comment 2 ASX 2016-10-14 12:19:33 UTC
(In reply to Tobias Kortkamp from comment #0)

> I find it very odd that the binary looks for /lib/ld-linux.so. instead of /lib/ld-linux.so.2 in the first place.

I just realized that the port while marked as google-earth 7.x is downloading google earth 6.x, or so it seems from google-earth->Help->About.

Maybe that is the problem ?
Comment 3 martin.dieringer 2016-10-21 00:00:14 UTC
the distfile /usr/ports/distfiles/google-earth/7.1.5.1557/GoogleEarthLinux.bin apparently contains 

label="Google Earth for GNU/Linux 6.0.3.2197"
script="./setup.sh"
scriptargs=""
targetdir="GoogleEarthLinuxPlus-6.0.3.2197-installer"
filesizes="33679588"
Comment 4 Tijl Coosemans freebsd_committer freebsd_triage 2016-11-04 20:40:39 UTC
I've updated the port.  It uses a different ELF interpreter now.