Bug 221448 - astro/google-earth: Fails to start: lib64/libc.so.6: version `GLIBC_2.14' not found
Summary: astro/google-earth: Fails to start: lib64/libc.so.6: version `GLIBC_2.14' not...
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords: crash, needs-qa
Depends on:
Blocks:
 
Reported: 2017-08-12 16:48 UTC by John Smith
Modified: 2018-10-06 20:10 UTC (History)
3 users (show)

See Also:


Attachments
crashlog (3.82 KB, text/plain)
2017-08-12 16:48 UTC, John Smith
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Smith 2017-08-12 16:48:09 UTC
Created attachment 185325 [details]
crashlog

[user@hostname] ~/: googleearth 
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 80: saw unknown, expected number
[0812/194516:ERROR:net_util.cc(2195)] Not implemented reached in bool net::HaveOnlyLoopbackAddresses()
Failed to load "/compat/linux/opt/google/earth/free/libinput_plugin.so" because "/lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./libLeap.so)"
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Google Earth has caught signal 11.


We apologize for the inconvenience, but Google Earth has crashed.
 This is a bug in the program, and should never happen under normal
 circumstances. A bug report and debugging data have been written
 to this text file:

    /usr/home/user/.googleearth/crashlogs/crashlog-598f309c.txt

Please include this file if you submit a bug report to Google.
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2018-03-04 06:23:52 UTC
This is a linux closed-source program not officially supported on FreeBSD.
It is broken for years. It should probably be deleted a unfixable.
Comment 2 John Smith 2018-03-04 09:14:13 UTC
Agreed.
Could you remove it from freshports?
Comment 3 Tijl Coosemans freebsd_committer freebsd_triage 2018-03-04 10:53:11 UTC
It works just fine here and I use it to test Linux OpenGL support, so please don't remove it.
Comment 4 Yuri Victorovich freebsd_committer freebsd_triage 2018-03-04 10:54:52 UTC
(In reply to Tijl Coosemans from comment #3)

Ok, Thanks!
Comment 5 Lena 2018-03-10 08:31:34 UTC
Everybody who reports whether google-earth works for you or not, please show output of `uname -rp`. Mine is 11.1-RELEASE-p7 i386, google-earth 7.1.7 (installed from ports) crashes at start (signal 11).

I had older version of google-earth working under 8.4-RELEASE i386. Under 8.4 i386, with `pkg create` I got google-earth-7.1.5.1557,3.txz
Under 11.1 i386, I tried `pkg add -f`, it complained of missed dependency linux-c6-cyrus-sasl2 though package for security/linux-c6-cyrus-sasl2 was already installed (under changed name linux-c6-cyrus-sasl-lib). Then I used
pkg add -fM google-earth-7.1.5.1557,3.txz
It gave 2 warnings (wrong architecture and missed dependency linux-c6-cyrus-sasl2) but installed the package, and it works under 11.1 i386. Whew.
If somebody needs the package:
https://drive.google.com/file/d/1uPcdMYF9OrYbWCGbOOgcE5NQepNcudrs/
Comment 6 John Smith 2018-03-10 09:24:37 UTC
It's clearly not a distro architecture dependent issue (amd64 here).
Unless specified otherwise - tickets always assume latest stable version of FreeBSD and latest available port/package (port in this case).
Comment 7 Lena 2018-03-10 09:50:32 UTC
When the older package google-earth-7.1.5.1557,3.txz I linked above works, in Help menu - About it reports Google Earth version 6.0.3, build date 5/13/2011. But it's better than nothing. "Historical imagery" works.
Comment 8 Lena 2018-10-06 20:10:34 UTC
After security kernel update r338603
https://lists.freebsd.org/pipermail/svn-src-all/2018-September/170051.html
the binary file /usr/local/share/google-earth/googleearth-bin
from the package I uploaded
must be patched: at offsets 0x64 and 0x68
bytes 0x11 must be changed to 0x13 .
It's length (including the final zero-byte) of the string (at offset 0x134)
with the path to the program interpreter "/lib/ld-linux.so.2".