SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm on the Slack64-Current iso of 2021-04-20, and stuck in the latest GE (version 7.3) because the previous one (about 10 months back) was segfaulting. I got the .deb, ran deb2targz, exploded that, and made a package; then I installed it.
Here's their script, named as googleearth & google-earth-pro
Code:
#!/bin/bash
# This script configures any environment prerequisites needed by Google Earth.
# Start Google Earth using this script rather than googleearth-bin directly.
# If you want to use an external copy of GPSBabel, you can specify it here.
# if [[ -z "$GPSBABEL" ]]; then export GPSBABEL="$(which gpsbabel)"; fi
# If DISPLAY is not set, try to autodetect a value.
if [[ -z "$DISPLAY" ]]; then
echo "WARNING: DISPLAY environment variable is not set."
x_displays=(/tmp/.X11-unix/X*)
display="${x_displays[0]}"
if [[ -e "$display" ]]; then
export DISPLAY=":${display/*X/}"
echo " Found ${display}; setting DISPLAY=\"${DISPLAY}\"."
else
echo " X11 display not detected; Google Earth may not run correctly."
fi
fi
"$(dirname "$(readlink -f "$0")")/googleearth-bin" "$@"
I went searching for an older curl package, and came across curl-7.72 in September 2020's iso of current so I installed it, and tried it on the (GE-7.3) version I had installed, before heading off for the SBo. That worked, without bother, so I stopped messing.
It seems slightly insane that a bugfix or three broke google earth, but maybe it was a bigger thing and the maintainer just bumped the version.I dunno.
Last edited by business_kid; 05-04-2021 at 03:44 AM.
This should get you running on the latest version.
NOTE TO PONCE: Matteo, you may want to grab the rest of the tarballs in that folder to merge into the -current repo as well.
Thank you very much works and street view is back.
The older version 7.3.0.3832 from Sbo-git was working but street view.
Slackware 14.2 also works but street view, Google changed something in the new version that broke it.
I will try if this works on 14.2 (maybe building openssl10, I will try).
It seems that isn't need to actually install openssl10 package, google-earth.Slackbuilds will ask for it.
This should get you running on the latest version.
Works, Thanks
I adapted this to my SlackBuild which uses the latest RPM package.
Of note, the permissions for the extracted libcrypto.so.1.0.0 from the openssl10-solibs-1.0.2u-x86_64-2.txz are 555.
This is what I added to my SlackBuild script. Note: this is not compatible with the SBo SlackBuild script.
Code:
# We need the libcrypto.so.1.0.0 library from the now removed openssl10-solibs
# package.
tar -xv -C $PKGDIR/usr/lib${LIBDIRSUFFIX}/google-earth-pro/ \
-f $CWD/openssl10-solibs-1.0.2u-x86_64-2.txz lib64/libcrypto.so.1.0.0 \
--strip-components 1 --overwrite
chmod 755 $PKGDIR/usr/lib${LIBDIRSUFFIX}/google-earth-pro/libcrypto.so.1.0.0
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 926
Rep:
Slackware 14.2 is simple, just download google-earth from the .info file provided
by Lenard Spencer, run google-earth.Slackbuild and install the result package.
I think openssl10-solibs-1.0.2u-x86_64-2 is already the version in SW 14.2,
named as openssl-solibs-1.0.2u-x86_64-1_slack14.2.
Google-earth 7.3.3 has another problem, the globe doesn't appear.
It seems a problem with GL but I don't know how to solve this.
Graphic card is Intel i915.
Running 'LIBGL_ALWAYS_SOFTWARE= google-earth-pro' makes it to run with
some software render which is very slow, but solves the globe problem (and street view works).
Google-earth 7.3.3 has another problem, the globe doesn't appear.
It seems a problem with GL but I don't know how to solve this.
Graphic card is Intel i915.
Running 'LIBGL_ALWAYS_SOFTWARE= google-earth-pro' makes it to run with
some software render which is very slow, but solves the globe problem (and street view works).
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 926
Rep:
Quote:
Originally Posted by chrisretusn
Works here, NVIDIA graphic driver.
Did you try with nouveau? Here nouveau has that problem too, doesn't show the globe.
I read somewhere (maybe Arch forum, don't remember) that tip about LIBGL_ALWAYS_SOFTWARE=
and it solved for nouveau.
I'm running NVidia driver now. It really runs everything much better,
and fortunately doesn't crash here anymore.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.