LinuxQuestions.org
Visit Jeremy's Blog.
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 03-31-2014, 11:46 AM   #1
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib." FreeBSD.
Posts: 2,451

Rep: Reputation: 255Reputation: 255Reputation: 255
GoogleEarth Segmentation Fault.


After doing several fresh installs while chasing down a multilib problem, GoogleEarth no longer works.

GoogleEarth version, 6.0.3, issues the following error:

Quote:
/usr/bin/google-earth: line 43: 4200 Segmentation fault LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ./googleearth-bin "$@"

and version 7.1.2, reports this error:

Quote:
/usr/bin/google-earth: line 43: 7263 Segmentation fault LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ./googleearth-bin "$@"
Other than the line number they are the same error.
And, yes, I did create the symbolic link as outlined in the README.

Any suggestions greatly appreciated.
Thanks.
 
Old 03-31-2014, 12:51 PM   #2
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 323

Rep: Reputation: 192Reputation: 192
Hello,

Check that all the dependencies are met. Here is the list for google-earth-7.1.2 :

Code:
$ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/google/earth/free/ ldd /opt/google/earth/free/googleearth-bin 
        linux-gate.so.1 (0xffffe000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xf775e000)
        libm.so.6 => /lib/libm.so.6 (0xf771c000)
        libc.so.6 => /lib/libc.so.6 (0xf7591000)
        libdl.so.2 => /lib/libdl.so.2 (0xf758c000)
        libgoogleearth_free.so => /opt/google/earth/free/libgoogleearth_free.so (0xf720e000)
        libglobalnew.so => /opt/google/earth/free/libglobalnew.so (0xf720b000)
        libQtGui.so.4 => /opt/google/earth/free/libQtGui.so.4 (0xf6665000)
        libQtNetwork.so.4 => /opt/google/earth/free/libQtNetwork.so.4 (0xf64f6000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xf64bd000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xf642f000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xf62f8000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xf62ee000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xf62dc000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0xf627d000)
        libGLU.so.1 => /usr/lib/libGLU.so.1 (0xf61f6000)
        librt.so.1 => /lib/librt.so.1 (0xf61ec000)
        libQtCore.so.4 => /opt/google/earth/free/libQtCore.so.4 (0xf5e98000)
        libQtWebKit.so.4 => /opt/google/earth/free/libQtWebKit.so.4 (0xf46f2000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xf460a000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xf45f0000)
        /lib/ld-lsb.so.3 => /lib/ld-linux.so.2 (0xf77b8000)
        libIGCore.so => /opt/google/earth/free/libIGCore.so (0xf4500000)
        libIGUtils.so => /opt/google/earth/free/libIGUtils.so (0xf44d8000)
        libaction.so => /opt/google/earth/free/libaction.so (0xf44d0000)
        libapiloader.so => /opt/google/earth/free/libapiloader.so (0xf44cc000)
        libauth.so => /opt/google/earth/free/libauth.so (0xf4476000)
        libbase.so => /opt/google/earth/free/libbase.so (0xf4344000)
        libcommon.so => /opt/google/earth/free/libcommon.so (0xf42bb000)
        libcommon_gui.so => /opt/google/earth/free/libcommon_gui.so (0xf424b000)
        libcommon_platform.so => /opt/google/earth/free/libcommon_platform.so (0xf4246000)
        libcommon_webbrowser.so => /opt/google/earth/free/libcommon_webbrowser.so (0xf41f4000)
        libcomponentframework.so => /opt/google/earth/free/libcomponentframework.so (0xf41ec000)
        libgeobase.so => /opt/google/earth/free/libgeobase.so (0xf3e8c000)
        libgeobaseutils.so => /opt/google/earth/free/libgeobaseutils.so (0xf3e53000)
        libge_net.so => /opt/google/earth/free/libge_net.so (0xf3e00000)
        libgdata.so => /opt/google/earth/free/libgdata.so (0xf3dca000)
        libgoogleapi.so => /opt/google/earth/free/libgoogleapi.so (0xf3da8000)
        libmath.so => /opt/google/earth/free/libmath.so (0xf3d25000)
        libmoduleframework.so => /opt/google/earth/free/libmoduleframework.so (0xf3d18000)
        libmaps.so => /opt/google/earth/free/libmaps.so (0xf3cf5000)
        libport.so => /opt/google/earth/free/libport.so (0xf3ceb000)
        libprintmodule.so => /opt/google/earth/free/libprintmodule.so (0xf3c7d000)
        libprofile.so => /opt/google/earth/free/libprofile.so (0xf3c7a000)
        librender.so => /opt/google/earth/free/librender.so (0xf3c3f000)
        libreporting.so => /opt/google/earth/free/libreporting.so (0xf3c31000)
        libsgutil.so => /opt/google/earth/free/libsgutil.so (0xf3aee000)
        libspatial.so => /opt/google/earth/free/libspatial.so (0xf38ec000)
        libxsltransform.so => /opt/google/earth/free/libxsltransform.so (0xf3780000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xf377e000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xf3650000)
        libz.so.1 => /lib/libz.so.1 (0xf363a000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0xf3631000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0xf3618000)
        libbz2.so.1 => /lib/libbz2.so.1 (0xf3607000)
        libexpat.so.1 => /opt/google/earth/free/libexpat.so.1 (0xf35e0000)
        libpng14.so.14 => /usr/lib/libpng14.so.14 (0xf35b5000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xf3594000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xf3591000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xf358b000)
        libglapi.so.0 => /usr/lib/libglapi.so.0 (0xf356c000)
        libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xf3569000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xf3563000)
        libX11-xcb.so.1 => /usr/lib/libX11-xcb.so.1 (0xf3561000)
        libxcb-glx.so.0 => /usr/lib/libxcb-glx.so.0 (0xf354a000)
        libxcb-dri2.so.0 => /usr/lib/libxcb-dri2.so.0 (0xf3545000)
        libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xf3540000)
        libdrm.so.2 => /usr/lib/libdrm.so.2 (0xf3533000)
        libIGMath.so => /opt/google/earth/free/libIGMath.so (0xf34eb000)
        libfusioncommon.so => /opt/google/earth/free/libfusioncommon.so (0xf34e6000)
        libfilmstrip.so => /opt/google/earth/free/libfilmstrip.so (0xf34bc000)
        libfreebl3.so => /opt/google/earth/free/libfreebl3.so (0xf3466000)
        libnspr4.so => /opt/google/earth/free/libnspr4.so (0xf3432000)
        libnss3.so => /opt/google/earth/free/libnss3.so (0xf3320000)
        libnssckbi.so => /opt/google/earth/free/libnssckbi.so (0xf32b3000)
        libnssdbm3.so => /opt/google/earth/free/libnssdbm3.so (0xf328f000)
        libnsssysinit.so => /opt/google/earth/free/libnsssysinit.so (0xf328b000)
        libnssutil3.so => /opt/google/earth/free/libnssutil3.so (0xf3269000)
        libplc4.so => /opt/google/earth/free/libplc4.so (0xf3264000)
        libplds4.so => /opt/google/earth/free/libplds4.so (0xf3260000)
        libsmime3.so => /opt/google/earth/free/libsmime3.so (0xf3239000)
        libsoftokn3.so => /opt/google/earth/free/libsoftokn3.so (0xf3203000)
        libsqlite3.so => /opt/google/earth/free/libsqlite3.so (0xf3199000)
        libssl3.so => /opt/google/earth/free/libssl3.so (0xf3161000)
        libge_chrome_net.so => /opt/google/earth/free/libge_chrome_net.so (0xf1e81000)
        liblayer.so => /opt/google/earth/free/liblayer.so (0xf1d0a000)
        libIGAttrs.so => /opt/google/earth/free/libIGAttrs.so (0xf1c85000)
        libIGGfx.so => /opt/google/earth/free/libIGGfx.so (0xf18ab000)
        libIGSg.so => /opt/google/earth/free/libIGSg.so (0xf17a4000)
        libuuid.so.1 => /lib/libuuid.so.1 (0xf17a0000)
        libwmsbase.so => /opt/google/earth/free/libwmsbase.so (0xf176c000)
        libwebbrowser.so => /opt/google/earth/free/libwebbrowser.so (0xf1756000)
These dependencies are fulfilled by the following 32-bit packages (returned by compat32pkg --depends google-earth) :
Code:
aaa_elflibs-compat32
bzip2-compat32
cxxlibs-compat32
fontconfig-compat32
freetype-compat32
gcc
gcc-g++
glib2-compat32
glibc
glibc-solibs
glu-compat32
libICE-compat32
libSM-compat32
libX11-compat32
libXau-compat32
libXdamage-compat32
libXdmcp-compat32
libXext-compat32
libXfixes-compat32
libXrender-compat32
libXxf86vm-compat32
libdrm-compat32
libpng-compat32
libxcb-compat32
mesa-compat32
util-linux-compat32
Keep in minds that If you use nvidia/ati proprietary driver you must install their 32-bit libraries, and reinstall them each time mesa/xorg are updated.


You should also look at this thread for a pure 64-bit google-earth experience.

Hope this helps.

--
SeB
 
2 members found this post helpful.
Old 03-31-2014, 12:55 PM   #3
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,712
Blog Entries: 3

Rep: Reputation: 238Reputation: 238Reputation: 238
read here for the 6.0.3 http://slackblogs.blogspot.com/2012/...slackware.html it helped me.
Note you will see these are built on a debian or ubuntu and packaged as a pre-built binary.

it comes down to it .so.2 or .so.3 as you will see. I compile every day for multiple systems and creating sym link is a must for Ubuntu .
the program is looking for the correct .so.X
Quote:
If for some reason you failed to launch the Google Earth, make sure you have created a symlink to comply with LSB that Google requires by running this as root:

ln -sf /lib/ld-linux.so.2 /lib/ld-lsb.so.3
you needed to read this. before installing. http://slackbuilds.org/repository/13...h=google-earth

Last edited by Drakeo; 03-31-2014 at 01:05 PM. Reason: note
 
1 members found this post helpful.
Old 03-31-2014, 02:08 PM   #4
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib." FreeBSD.
Posts: 2,451

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
@phenixia2003,
Thanks. I've checked against your lists, above, and everything is installed.

@Drakeo,
Creating the symbolic link is the first I do after installing the package, but thanks for the suggestion.
 
Old 04-01-2014, 03:24 AM   #5
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 323

Rep: Reputation: 192Reputation: 192
Hello,

Quote:
Originally Posted by cwizardone View Post
@phenixia2003,
Thanks. I've checked against your lists, above, and everything is installed.
Check if you have crash logs in ~/.google-earth/crashlogs and post the most recent. Otherwise, run the command below (assuming google-earth is installed in /opt/google/earth/free) :

Code:
LD_LIBRARY_PATH=/opt/google/earth/free:$LD_LIBRARY_PATH strace 2>/tmp/google-earth.strace /opt/google/earth/free/googleearth-bin
Then look at the file /tmp/google-earh.strace for any clue about the segfault. (Note: On my side I have no segfault, but the strace file contains a lot of error like this) :
Code:
[0401/101339:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
Hope this helps.

--
SeB

Last edited by phenixia2003; 04-01-2014 at 03:37 AM.
 
1 members found this post helpful.
Old 04-01-2014, 04:36 AM   #6
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,822

Rep: Reputation: 558Reputation: 558Reputation: 558Reputation: 558Reputation: 558Reputation: 558
Quote:
Originally Posted by phenixia2003 View Post
(Note: On my side I have no segfault, but the strace file contains a lot of error like this) :
Code:
[0401/101339:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler.
This is a common output, even for those who have working Google Earth like on my system

Click image for larger version

Name:	google-earth.jpg
Views:	16
Size:	143.0 KB
ID:	15129
 
Old 04-01-2014, 11:18 AM   #7
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib." FreeBSD.
Posts: 2,451

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
OK. After digging around on the Internet for a while I came across a mention of video drivers. Before you ask, yes, the Nvidia drivers were installed, and, yes, the 32 bit drivers were also installed (WINE has been working just fine).
So, just for chunkles, I un-installed the Nvidia drivers and re-installed the same, rebooted, and, bingo, google earth came to life.
Interesting side note, I thought, is while this is the latest build, via the slackbuild, the images are so old the building down the street that was torn down two years ago, is still standing. "Back to the Future!"

(The previous version showed the construction project now on that same site.)

Thanks to everyone for their suggestions.

Last edited by cwizardone; 04-01-2014 at 11:40 AM.
 
  


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] GE: /usr/local/bin/googleearth: line 44: ./googleearth-bin: No such file or directory business_kid Linux - Software 5 11-26-2011 09:15 PM
Googleearth reports /usr/lib/googleearth/goggleearth-bin: not found Elixer Linux - Software 5 12-24-2010 08:34 AM
yast segmentation fault, system freezing - nvidia driver at fault? BaltikaTroika SUSE / openSUSE 2 12-02-2005 09:34 AM
ls segmentation fault sucho Linux - General 1 06-23-2004 06:44 PM
Segmentation Fault redhatnoob Linux - Software 3 11-13-2003 02:11 AM


All times are GMT -5. The time now is 10:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration