LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 02-05-2005, 12:21 PM   #1
doctorwebbox
Member
 
Registered: Jun 2003
Location: Rotherham, South Yorkshire, England
Distribution: Debian
Posts: 117

Rep: Reputation: 15
Missing libGL.so.1


I get this error when trying to run certain apps on a brand new debian installation:

error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory

I've set up several machines from scratch before but never had this problem. I've tried to install everything that I can think of that may be related but no good. Can anyone tell me what is libGL.so.1? Why is it missing and where can I get it?
 
Old 02-05-2005, 12:31 PM   #2
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
apt-get install xlibmesa-gl
apt-get install xlibmesa-glu
 
Old 02-05-2005, 01:14 PM   #3
doctorwebbox
Member
 
Registered: Jun 2003
Location: Rotherham, South Yorkshire, England
Distribution: Debian
Posts: 117

Original Poster
Rep: Reputation: 15
adam@gabriel:~$ su
Password:
gabriel:/home/adam# apt-get install xlibmesa-gl
Reading Package Lists... Done
Building Dependency Tree... Done
xlibmesa-gl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
gabriel:/home/adam# apt-get install xlibmesa-glu
Reading Package Lists... Done
Building Dependency Tree... Done
xlibmesa-glu is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
gabriel:/home/adam# tuxracer
bash: tuxracer: command not found
gabriel:/home/adam# exit
exit
adam@gabriel:~$ tuxracer
tuxracer: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
adam@gabriel:~$

Any more suggestions?
 
Old 02-06-2005, 03:36 PM   #4
basileus
Member
 
Registered: Nov 2004
Location: Turku, Finland
Distribution: Debian, Ubuntu, Gentoo
Posts: 388

Rep: Reputation: 30
If you haven't installed any non-debian packages (like NVIDIA or ATI drivers) fixing the problem could be hard to solve.

Check the "Search Contents of Packages" from Debian website and search which packages contain the libGL.so.1.
 
Old 02-06-2005, 07:24 PM   #5
doctorwebbox
Member
 
Registered: Jun 2003
Location: Rotherham, South Yorkshire, England
Distribution: Debian
Posts: 117

Original Poster
Rep: Reputation: 15
FIxed

I just copied dpkg-preconfigure from another (working) machine. Sorted.
 
Old 03-29-2005, 02:17 AM   #6
f1dave
Member
 
Registered: Jan 2005
Location: Kinross, Western Australia
Distribution: Kubuntu 5.04 (Hoary)
Posts: 114

Rep: Reputation: 15
well, i have the same issue after removing fglrx. anyone able to help me seeing as i dont have another machine to copy off?

Cheers,
Dave.
 
Old 03-29-2005, 04:13 AM   #7
doctorwebbox
Member
 
Registered: Jun 2003
Location: Rotherham, South Yorkshire, England
Distribution: Debian
Posts: 117

Original Poster
Rep: Reputation: 15
Are you running unstable? If so you could try a copy of mine.
 
Old 03-31-2005, 01:17 AM   #8
f1dave
Member
 
Registered: Jan 2005
Location: Kinross, Western Australia
Distribution: Kubuntu 5.04 (Hoary)
Posts: 114

Rep: Reputation: 15
fraid not, i'm running testing.

Dave.
 
Old 04-01-2005, 04:14 PM   #9
JOKe
LQ Newbie
 
Registered: Mar 2004
Posts: 15

Rep: Reputation: 0
btw what in debian world is :
up2date --whatprovides some.blabla.alabala.lib.so.2 ?
how can i see in what package is this lib ?
 
Old 04-01-2005, 08:25 PM   #10
zuralin
Member
 
Registered: Sep 2003
Distribution: Debian testing/unstable
Posts: 225

Rep: Reputation: 30
apt-get install apt-file; apt-file update; apt-file search <what your looking for>
 
Old 04-01-2005, 11:56 PM   #11
f1dave
Member
 
Registered: Jan 2005
Location: Kinross, Western Australia
Distribution: Kubuntu 5.04 (Hoary)
Posts: 114

Rep: Reputation: 15
here's some more information for those who might be able to help me:

meacod01@formula1:~$ locate libGL.so.1
/usr/lib/debug/libGL.so.1
/usr/lib/debug/libGL.so.1.2
/usr/X11R6/lib/debug/libGL.so.1
/usr/X11R6/lib/debug/libGL.so.1.2

Now, i'm pretty sure that just being in the debug directories isn't sufficient- can someone back me up here? I've got a feeling symbolic linking is needed, but to what?

Dave.
 
Old 04-14-2005, 01:37 PM   #12
yazdzik
LQ Newbie
 
Registered: Mar 2003
Location: new york
Posts: 7

Rep: Reputation: 0
Dear Friends,

I have the same problem.

I did mangage to copy the file, but after installation and reinstalling the ati drivers:


Code:
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.3 Mesa 4.0.4
To say that this sucks is not even beginning to approach the feeling of frustration......


Best,

Martin
 
Old 04-14-2005, 02:00 PM   #13
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
f1dave: I had the exact same problem a while ago after an unsuccesful installation of the ATI fglrx drivers.
Fortunately, 'locate libGL' returned "/root/lib", so I just copied it from there to /usr/lib and also to /usr/X11R6/lib.
Unfortunately, not everything is back to normal as some of the OpenGL screensavers won't work anymore (such as Fireworks3D, ParticleFountain and others).
However, this is a workaround for me. If it won't work for you, try reinstalling the xlibmesa-* packages.

Anyway, this happened to me after I followed some "howtos" with a big, fat title on top saying something like "This is the way you must install these drivers under Debian"...people who don't give a damn about others, they did it on their machine, and voila, they think it'll work for everybody. An advice for this kind of people, test something thoroughly (we're talking Debian here after all) before you start bragging on how you did such things.
 
  


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
libGL.so file missing? Xandor Linux - Software 2 10-25-2005 02:42 AM
libGL.la art3mis Linux - Software 5 12-22-2004 09:50 AM
libGL.so.1(LIBGL) for SuSE 9.1? darkmatter333 Suse/Novell 1 12-17-2004 11:23 PM
LibGL.so.1 hacker 8991 Linux - Hardware 17 12-15-2003 12:57 PM
libgl trpn Linux - Hardware 0 03-05-2003 10:21 PM


All times are GMT -5. The time now is 11:38 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