LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Missing libGL.so.1 (https://www.linuxquestions.org/questions/debian-26/missing-libgl-so-1-a-286604/)

doctorwebbox 02-05-2005 11:21 AM

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?

Boow 02-05-2005 11:31 AM

apt-get install xlibmesa-gl
apt-get install xlibmesa-glu

doctorwebbox 02-05-2005 12:14 PM

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?

basileus 02-06-2005 02:36 PM

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.

doctorwebbox 02-06-2005 06:24 PM

FIxed
 
I just copied dpkg-preconfigure from another (working) machine. Sorted.

f1dave 03-29-2005 01:17 AM

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.

doctorwebbox 03-29-2005 03:13 AM

Are you running unstable? If so you could try a copy of mine.

f1dave 03-31-2005 12:17 AM

fraid not, i'm running testing.

Dave.

JOKe 04-01-2005 03:14 PM

btw what in debian world is :
up2date --whatprovides some.blabla.alabala.lib.so.2 ?
how can i see in what package is this lib ? :)

zuralin 04-01-2005 07:25 PM

apt-get install apt-file; apt-file update; apt-file search <what your looking for>

f1dave 04-01-2005 10:56 PM

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.

yazdzik 04-14-2005 12:37 PM

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

harken 04-14-2005 01:00 PM

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.