LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Google Earth LD_Library_Path error (http://www.linuxquestions.org/questions/slackware-14/google-earth-ld_library_path-error-4175463047/)

Jeebizz 05-22-2013 02:25 PM

Google Earth LD_Library_Path error
 
So I installed google-earth and followed the following steps from slackbuilds.org:

Quote:

2) Google Earth 7 is "LSB compliant" meaning it was built on a LSB system.
Slackware however does not have that symlink which is part of the LSB 3.0
specification. You'll need to create the symlink manually after installing
the package:

ln -sf /lib/ld-linux.so.2 /lib/ld-lsb.so.3

3) Google Earth tends to crash when the 65-fonts-persion.conf is available on
the system. aPlease remove /etc/fonts/conf.d/65-fonts-persian.conf prior
launching this application. The easiest way to do this is:

mv /etc/fonts/conf.d/65-fonts-persian.conf \
/etc/fonts/conf.d/65-fonts-persian.conf.old
And yes I do have OpenGL and it is running:

Code:

slackuser@slackmachine:~$ glxinfo
name of display: :0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
    GLX_EXT_swap_control, GLX_EXT_swap_control_tear,
    GLX_EXT_texture_from_pixmap, GLX_ARB_create_context,
    GLX_ARB_create_context_profile, GLX_EXT_create_context_es_profile,
    GLX_EXT_create_context_es2_profile, GLX_ARB_create_context_robustness,
    GLX_ARB_multisample, GLX_NV_float_buffer, GLX_ARB_fbconfig_float,
    GLX_EXT_framebuffer_sRGB, GLX_NV_multisample_coverage
client glx vendor string: NVIDIA Corporation

Multilib already working, since I got skype working... So, what am I missing? :scratch:

--edit

Oh yea this is the error in terminal:

Code:

slackuser@slackmachine:~$ google-earth
/usr/bin/google-earth: line 43: 23485 Segmentation fault      LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ./googleearth-bin "$@"
slackuser@slackmachine:~$


perbh 05-22-2013 02:45 PM

and did you do 2) in the 32-bit part?

Jeebizz 05-22-2013 03:01 PM

Yep, after I installed it, I created the symlink


--edit

Seems I get different errorlines each time try to run google-earth:

Code:

slackuser@slackmachine:~$ google-earth
/usr/bin/google-earth: line 43: 23872 Segmentation fault      LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ./googleearth-bin "$@"
slackuser@slackmachine:~$ google-earth
/usr/bin/google-earth: line 43: 23883 Segmentation fault      LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ./googleearth-bin "$@"
slackuser@slackmachine:~$ google-earth
/usr/bin/google-earth: line 43: 23894 Segmentation fault      LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ./googleearth-bin "$@"
slackuser@slackmachine:~$ google-earth
/usr/bin/google-earth: line 43: 23905 Segmentation fault      LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ./googleearth-bin "$@"


willysr 05-22-2013 06:24 PM

is this running on -Stable or -Current?

Jeebizz 05-22-2013 06:40 PM

Stable (Slackware-14.0) however I did update the kernel from the Slackware security release: [slackware-security] kernel (SSA:2013-140-01) - Not sure if that has any bearing though... :scratch:

Code:

slackuser@slackmachine:~$ uname -a
Linux slackmachine 3.2.45 #2 SMP Sat May 18 00:20:27 CDT 2013 x86_64 Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz GenuineIntel GNU/Linux


willysr 05-22-2013 07:11 PM

No, it doesn't relate to kernel updates

Jeebizz 05-22-2013 07:15 PM

Yea I didn't think so, but I am really at a loss here. :p

Richard Cranium 05-22-2013 07:52 PM

[EDIT: I almost hijacked a thread here. I moved my comment to another new thread. Sorry, Jeebizz!]

Jeebizz 05-22-2013 08:03 PM

Quote:

Originally Posted by Richard Cranium (Post 4956893)
[EDIT: I almost hijacked a thread here. I moved my comment to another new thread. Sorry, Jeebizz!]

No worries, any information is relevant and even in the Slackbuilds the maintainer of said builds awknowledges the 64-bit binaries being out there:

Quote:

4) GoogleEarth is a 32bit application only. You need to have the 32bit
compatibility packages installed to have this work on a 64bit system.
Otherwise you'll just see "no such file or directory" errors. I am aware
that Google puts a 64bits debian package out, but this is a 32bits package
with a 64bit wrapper for debian that installs multilib

I'm still going in circles though. I always make sure I run /sbin/ldconfig after every package install. I even tried uninstalling, making another package, installing, created the symlink again.... Nothing :banghead:

Jeebizz 05-28-2013 05:53 PM

So I got it to work finally, unfortunately the solution itself doesn't really say much. I removed the package and then reinstalled it, and now it just suddenly works. Rather mysteriously, I wish I had a better answer if anyone else encounters the same thing, but I do not. Removing and adding the package again simply worked *shrug*.


All times are GMT -5. The time now is 03:21 PM.