LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   libGL gone, which one to re-install??? (https://www.linuxquestions.org/questions/linux-software-2/libgl-gone-which-one-to-re-install-87885/)

MaulingMonkey 09-01-2003 03:58 AM

libGL gone, which one to re-install???
 
It would seem that I somehow accidentally deleted libGL.so, which is odd considering I don't remember ever doing so, and even more odd that it's the real file that's gone, not the symlinnks.
(That is, I have
libGL.so -> libGL.so.1
libGL.so.1 -> libGL.so.1.2
but not the last item in the chain: libGL.so.1.2)

My setup is as follows:
XFree86 4.2.1 (DRI enabled)
nVidia TNT2 drivers installed
RH9

What would be the best way to go about getting or re-creating libGL.so.1.2? Re-install XFree? what would be the best way of doing that without having to re-configure?

edit: okay, upon further inspection I found out something pretty odd... an old OGL test program I had made that was still compiled worked. ldd turned up:

libGL.so.1 => /usr/lib/tls/libGL.so.1 (0x40263000)

this is slightly confusing to me... libGL.so is linked to libGL.so.1 which would be the same as this depends on... that in turn does NOT point to /usr/lib/tls/libGL.so.1.

Also, anyone know what this tls directroy might stand for/have been made for?

I'm getting very confused... I ran into my problems first when I was trying to compile an OGL app...

UnTamed 12-14-2003 04:01 PM

If you're using nVidia's proprietary driver, it could be the one supplying the file you need.

If not, depending on your particular distro, you may have a separate libMesaGL pkg, but chances are you'll need to reinstall X ...unless you wanna dig in the binary pkg to get that particular file only.

Your config should be safe unless you run a config app but if you wanna save it, it's usually /etc/X11/XF86Config-4.


All times are GMT -5. The time now is 03:44 AM.