LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-03-2021, 01:23 PM   #1
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, RPi OS, Mint & Android
Posts: 12,686

Rep: Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621
Google Earth Segfaults


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" "$@"
and that last line always, always hangs.
Code:
bash-5.1$ google-earth-pro
/usr/bin/google-earth-pro: line 21: 13728 Segmentation fault      "$(dirname "$(readlink -f "$0")")/googleearth-bin" "$@"

bash-5.1$ ./googleearth
./googleearth: line 21: 13745 Segmentation fault      "$(dirname "$(readlink -f "$0")")/googleearth-bin" "$@"

 ./googleearth-bin
Segmentation fault
This time the binary does too. Nothing applicable showed in web searches except that Ubuntu-21.04 managed to screw up curl somehow. Any thoughts?
 
Old 05-03-2021, 02:57 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,294

Rep: Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508
Use the one in SBo repository and it should be fine
 
Old 05-03-2021, 03:19 PM   #3
Jan K.
Member
 
Registered: Apr 2019
Location: Esbjerg
Distribution: slackware...
Posts: 249

Rep: Reputation: 171Reputation: 171
I remember a thread a while back... https://www.linuxquestions.org/quest...ts-4175686632/

But I know nothing!
 
Old 05-03-2021, 08:41 PM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,294

Rep: Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508Reputation: 1508
it worked, i tested already, but not for the latest version. So you must use the spesific version in SBo
 
1 members found this post helpful.
Old 05-04-2021, 03:05 AM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, RPi OS, Mint & Android
Posts: 12,686

Original Poster
Rep: Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621
Thanks for the replies.

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.
 
Old 05-06-2021, 12:23 PM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, RPi OS, Mint & Android
Posts: 12,686

Original Poster
Rep: Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621
Re my last message. Allow me to unsay that.

The sun went behind a cloud, and GE started segfaulting again. The SBo version works, though. Thanks willysr.
 
Old 05-06-2021, 04:24 PM   #7
Lenard Spencer
Member
 
Registered: Sep 2004
Location: Florida
Distribution: Slackware, Linux from Scratch
Posts: 267

Rep: Reputation: 86
FWIW, if you want to use the latest google-earth, here is what you need to do:

1. Get and install https://slackware.uk/cumulative/slac...u-x86_64-2.txz from the slackware.uk cumulative repo. (I would like to see openssl10 added to SBo if possible.)

2. Download http://www.lenardspencer.net/linux/s...e-earth.tar.gz from my server. Use the DOWNLOAD_x86_64 link in the .info file to get the google-earth deb package.

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.
 
5 members found this post helpful.
Old 05-07-2021, 04:36 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, RPi OS, Mint & Android
Posts: 12,686

Original Poster
Rep: Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621
Thanks, Lenard, but unless there's some massive security thing, I'llleave well enough alone, following tye 1st law of repair:
Quote:
If it ain't broke, don't fix it!
There's a lot of stuff going on here at home that has me pre-occupied.
 
Old 05-07-2021, 06:44 AM   #9
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,693

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
Thanks Lenard Spencer!

Works fine for me with your latest build. Willy's was working, but I had to give it a go.
 
Old 05-07-2021, 09:06 AM   #10
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 6,101

Rep: Reputation: Disabled
Quote:
Originally Posted by Lenard Spencer View Post
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.
will do, thanks!

but regarding google-earth, if it still needs openssl-1.0.x it's google that has to fix its sh*t, IMHO

Last edited by ponce; 05-07-2021 at 10:53 AM.
 
2 members found this post helpful.
Old 05-07-2021, 10:42 AM   #11
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 -current (started with 13.37(32))
Posts: 689

Rep: Reputation: 314Reputation: 314Reputation: 314Reputation: 314
Quote:
Originally Posted by Lenard Spencer View Post
FWIW, if you want to use the latest google-earth, here is what you need to do:

1. Get and install https://slackware.uk/cumulative/slac...u-x86_64-2.txz from the slackware.uk cumulative repo. (I would like to see openssl10 added to SBo if possible.)

2. Download http://www.lenardspencer.net/linux/s...e-earth.tar.gz from my server. Use the DOWNLOAD_x86_64 link in the .info file to get the google-earth deb package.

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.
 
Old 05-07-2021, 12:12 PM   #12
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 1,861

Rep: Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773
Quote:
Originally Posted by Lenard Spencer View Post
FWIW, if you want to use the latest google-earth, here is what you need to do:

1. Get and install https://slackware.uk/cumulative/slac...u-x86_64-2.txz from the slackware.uk cumulative repo. (I would like to see openssl10 added to SBo if possible.)

2. Download http://www.lenardspencer.net/linux/s...e-earth.tar.gz from my server. Use the DOWNLOAD_x86_64 link in the .info file to get the google-earth deb package.

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
 
Old 05-07-2021, 06:04 PM   #13
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 -current (started with 13.37(32))
Posts: 689

Rep: Reputation: 314Reputation: 314Reputation: 314Reputation: 314
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).

Last edited by Paulo2; 05-07-2021 at 06:08 PM.
 
Old 05-07-2021, 08:29 PM   #14
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 1,861

Rep: Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773
Quote:
Originally Posted by Paulo2 View Post
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).
Works here, NVIDIA graphic driver.
 
Old 05-07-2021, 08:43 PM   #15
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 -current (started with 13.37(32))
Posts: 689

Rep: Reputation: 314Reputation: 314Reputation: 314Reputation: 314
Quote:
Originally Posted by chrisretusn View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] First major oops with Plasma5 - Google Earth Pro now segfaults Lenard Spencer Slackware 17 12-17-2020 12:00 PM
no 'Earth' on Google earth blastradius Linux - Software 19 02-01-2009 12:05 PM
LXer: Google Maps and Google Earth KML overlays LXer Syndicated Linux News 0 10-29-2008 04:30 AM
Google Earth 4.0.1693 Segfaults Jessard Linux - Desktop 4 08-31-2006 04:16 PM
Google Earth produces 'holes' in planet earth greengrocer Linux - Newbie 5 07-18-2006 10:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration