LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 01-29-2014, 09:10 PM   #1
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware 14.1 64-bit with multilib
Posts: 2,092

Rep: Reputation: 222Reputation: 222Reputation: 222
Smile Google Earth revisited


So trying Google Earth again after much frustration, and nearly pulling out my hair I decided to take a break from it until now. I still cannot correctly install later NVIDIA blobs without errors, - so I am running the long-term versions, 319.82 , no problems installing both driver and OpenGL and 32-compat libraries.

So Google Earth is installed but it is still whining about libGLU.so.1, however...

Code:
slackuser@slackmachine:~$ google-earth 
./googleearth-bin: error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory
slackuser@slackmachine:~$
Though, if I look for it I find that file though:

Code:
root@slackmachine:/# whereis libGLU.so.1
libGLU.so: /usr/lib/libGLU.so /usr/lib64/libGLU.so /usr/lib64/libGLU.so.1
root@slackmachine:/# cd /usr/lib
root@slackmachine:/usr/lib# file libGLU.so
libGLU.so: broken symbolic link to `/usr/lib/libGLU.so.1'
root@slackmachine:/usr/lib# file libGLU.so.1
libGLU.so.1: ERROR: cannot open `libGLU.so.1' (No such file or directory)
root@slackmachine:/usr/lib# file /usr/lib64/libGLU.so
/usr/lib64/libGLU.so: symbolic link to `libGLU.so.1.3.1' 
root@slackmachine:/usr/lib# whereis libGLU.so.1.3.1
libGLU.so.1.3: /usr/lib64/libGLU.so.1.3.1
root@slackmachine:/usr/lib# cd /usr/lib64 
root@slackmachine:/usr/lib64# file libGLU.so.1.3.1
libGLU.so.1.3.1: ELF 64-bit LSB  shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
root@slackmachine:/usr/lib64#
Further investigation yields something more interesting:
Code:
root@slackmachine:/usr/lib# cd /usr/lib
root@slackmachine:/usr/lib# file libGL.so.1
libGL.so.1: symbolic link to `libGL.so.319.82' 
root@slackmachine:/usr/lib# file libGLU.so 
libGLU.so: broken symbolic link to `/usr/lib/libGLU.so.1'
root@slackmachine:/usr/lib#
So I got a bunch of symlinks all over the place, and now I am not sure how to fix this, but I am sure this has to be the cause of my problem. I am sure libGL.so.319.82 should be the same as libGLU.so.1 ? Maybe? But then why isn't it just that, instead of being libGL.so.319.82?
 
Old 01-29-2014, 10:25 PM   #2
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.1
Posts: 1,577

Rep: Reputation: 468Reputation: 468Reputation: 468Reputation: 468Reputation: 468
libGLU isn't the same thing as libGL.

On my system...
Code:
$ ls -l /usr/lib64/libGLU.so.1
lrwxrwxrwx 1 root root 15 Nov 26 22:02 /usr/lib64/libGLU.so.1 -> libGLU.so.1.3.1*

$ ls -l /usr/lib64/libGL.so
lrwxrwxrwx 1 root root 10 Dec 18 21:00 /usr/lib64/libGL.so -> libGL.so.1*
$ ls -l /usr/lib64/libGL.so.1
lrwxrwxrwx 1 root root 15 Dec 18 21:00 /usr/lib64/libGL.so.1 -> libGL.so.331.20*

$ grep libGLU /var/log/packages/*
/var/log/packages/glu-9.0.0-x86_64-1:glu: glu is the Mesa OpenGL utility library (libGLU).
/var/log/packages/glu-9.0.0-x86_64-1:usr/lib64/libGLU.la
/var/log/packages/glu-9.0.0-x86_64-1:usr/lib64/libGLU.so.1.3.1
 
Old 01-30-2014, 04:47 PM   #3
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware 14.1 64-bit with multilib
Posts: 2,092

Original Poster
Rep: Reputation: 222Reputation: 222Reputation: 222
Huh ok so much for that. So I guess I am missing libGLU, so million dollar questions is where the hell did it go? I installed everything in the NVIDIA blob, the only thing I have to go on, is that I did update from 14.0 to 14.1 , then again Google-Earth did work, since I did the procedure first on a VM....And it did work on my real machine too. I'm totally dumbfounded by this.
 
Old 01-30-2014, 05:43 PM   #4
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,659

Rep: Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235
As pointed out by Richard Cranium, libGLU is shipped in package glu, included in Slackware. But obviously yours is broken for some reason as shown in your first post:
Code:
root@slackmachine:/usr/lib# file libGLU.so 
libGLU.so: broken symbolic link to `/usr/lib/libGLU.so.1'
That's why Google Earth complains, of course.

So, just reinstalling package glu (X series of packages) should close that issue.
 
Old 01-30-2014, 06:50 PM   #5
schmatzler
Member
 
Registered: Jan 2011
Location: Germany
Distribution: Slackware64 -current + Multilib
Posts: 216

Rep: Reputation: 65
Don't forget you need glu-compat32 as google-earth is a 32bit-application.

I also had to run:

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

otherwise it wouldn't find its own binary.
 
Old 01-30-2014, 06:54 PM   #6
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware 14.1 64-bit with multilib
Posts: 2,092

Original Poster
Rep: Reputation: 222Reputation: 222Reputation: 222
Quote:
Originally Posted by Didier Spaier View Post
As pointed out by Richard Cranium, libGLU is shipped in package glu, included in Slackware. But obviously yours is broken for some reason as shown in your first post:
Code:
root@slackmachine:/usr/lib# file libGLU.so 
libGLU.so: broken symbolic link to `/usr/lib/libGLU.so.1'
That's why Google Earth complains, of course.

So, just reinstalling package glu (X series of packages) should close that issue.
Ah good point, now for another really dumb question, which package has that library exactly? Since I am not about to reinstall all of X-server and such

---------- Post added 01-30-14 at 05:55 PM ----------

Quote:
Originally Posted by schmatzler View Post
Don't forget you need glu-compat32 as google-earth is a 32bit-application.

I also had to run:

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

otherwise it wouldn't find its own binary.
That is in the README for Google Earth and that was always the first thing I did when installing Google Earth.
 
Old 01-30-2014, 07:18 PM   #7
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware 14.1 64-bit with multilib
Posts: 2,092

Original Poster
Rep: Reputation: 222Reputation: 222Reputation: 222
I am derp... found it

Code:
glu: glu (Mesa OpenGL utility library)
glu:
glu: glu is the Mesa OpenGL utility library (libGLU).
glu:
glu:
glu:
glu:
glu:
glu:
glu:
glu:
glu-9.0.0-x86_64-1.txz

--edit

But it did not resolve.. I completely removed the package, and reinstalled it again... still getting same error message when trying to launch Google Earth in terminal.

Last edited by Jeebizz; 01-30-2014 at 07:20 PM.
 
Old 01-31-2014, 12:42 AM   #8
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,659

Rep: Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235
Quote:
Originally Posted by Jeebizz View Post
But it did not resolve.. I completely removed the package, and reinstalled it again... still getting same error message when trying to launch Google Earth in terminal.
Did you carefully read the NOTES of the README and follow all the instructions it includes?
 
Old 01-31-2014, 04:49 AM   #9
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 299

Rep: Reputation: 179Reputation: 179
Hello,

Quote:
Originally Posted by Jeebizz View Post
I am derp... found it

Code:
glu: glu (Mesa OpenGL utility library)
glu:
glu: glu is the Mesa OpenGL utility library (libGLU).
glu:
glu:
glu:
glu:
glu:
glu:
glu:
glu:
glu-9.0.0-x86_64-1.txz

--edit

But it did not resolve.. I completely removed the package, and reinstalled it again... still getting same error message when trying to launch Google Earth in terminal.

As pointed out by schmatzler you also need to install the 32-bit version of package glu (i.e. glu-compat32).

Cheers.

--
SeB
 
1 members found this post helpful.
Old 01-31-2014, 10:33 AM   #10
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.1
Posts: 1,577

Rep: Reputation: 468Reputation: 468Reputation: 468Reputation: 468Reputation: 468
Or you get the true 64 bit version of Google Earth and install that. There's a thread in the archives about it.
 
Old 01-31-2014, 04:50 PM   #11
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware 14.1 64-bit with multilib
Posts: 2,092

Original Poster
Rep: Reputation: 222Reputation: 222Reputation: 222
Quote:
Originally Posted by phenixia2003 View Post
Hello,




As pointed out by schmatzler you also need to install the 32-bit version of package glu (i.e. glu-compat32).

Cheers.

--
SeB
That did it! - wow, I am truly 'derp' , lol .

I just wonder how did going from 14.0 to 14.1 break glu like that, because again I tested this out on a VM, and had Google-Earth working just fine... anyhow, it works now
 
Old 01-31-2014, 04:52 PM   #12
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware 14.1 64-bit with multilib
Posts: 2,092

Original Poster
Rep: Reputation: 222Reputation: 222Reputation: 222
Quote:
Originally Posted by Richard Cranium View Post
Or you get the true 64 bit version of Google Earth and install that. There's a thread in the archives about it.
I did consider that, but it was the Debian64 package, and still gave me same error. This latest suggestion worked though, and matter is resolved, but all suggestions have been very helpful


glu-compat32 package was needed
 
Old 01-31-2014, 08:08 PM   #13
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,621

Rep: Reputation: 445Reputation: 445Reputation: 445Reputation: 445Reputation: 445
glu is now a dependency of mesa, so it's added into multilib packages by Eric
you must have skipped that one when upgrading 14.0->14.1
 
Old 01-31-2014, 09:41 PM   #14
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware 14.1 64-bit with multilib
Posts: 2,092

Original Poster
Rep: Reputation: 222Reputation: 222Reputation: 222
Quote:
Originally Posted by willysr View Post
glu is now a dependency of mesa, so it's added into multilib packages by Eric
you must have skipped that one when upgrading 14.0->14.1
Maybe, but then again I distinctly remember after updating from 14.0 -> 14.1 on a VM, and updated multilib, Google had no complaints, my only thought is NVIDIA breaking things. After all I am not using Nouveau, but the blob itself. My only guess is when I was trying to install later series of the driver, it had to have killed that dependency, since I was getting errors just trying to install the compa32 portion.

I am still sure that if I download the latest 'stable' series, 331.38 I will have errors, so I reverted to the 319 series. Right now I have 319.82 and I can install the .run blob fully without any problems. So thats my theory, later NVIDIA would have been the cause. Either way though, I am happy this issue is finally put to rest.

Last edited by Jeebizz; 01-31-2014 at 09:42 PM.
 
Old 01-31-2014, 11:33 PM   #15
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,621

Rep: Reputation: 445Reputation: 445Reputation: 445Reputation: 445Reputation: 445
well, NVIdia drivers must be reinstalled everytime you upgrade your XOrg or mesa
 
  


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
LXer: Show Photos on Google Earth and Google Maps with*digiKam LXer Syndicated Linux News 0 10-12-2011 09:20 PM
no 'Earth' on Google earth blastradius Linux - Software 19 02-01-2009 01:05 PM
LXer: Google Maps and Google Earth KML overlays LXer Syndicated Linux News 0 10-29-2008 05:30 AM
google earth mortal *BSD 2 09-07-2007 10:53 PM
Google Earth produces 'holes' in planet earth greengrocer Linux - Newbie 5 07-18-2006 11:57 PM


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