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? |
apt-get install xlibmesa-gl
apt-get install xlibmesa-glu |
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? |
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. |
FIxed
I just copied dpkg-preconfigure from another (working) machine. Sorted.
|
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. |
Are you running unstable? If so you could try a copy of mine.
|
fraid not, i'm running testing.
Dave. |
btw what in debian world is :
up2date --whatprovides some.blabla.alabala.lib.so.2 ? how can i see in what package is this lib ? :) |
apt-get install apt-file; apt-file update; apt-file search <what your looking for>
|
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. |
Dear Friends,
I have the same problem. I did mangage to copy the file, but after installation and reinstalling the ati drivers: Code:
Best, Martin |
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. |
All times are GMT -5. The time now is 02:26 AM. |