Click to See Complete Forum and Search --> : libGLU.so.1


Stween
04-01-2001, 05:04 PM
Alright, ive done a stupid thing. What i did was remove my KDE RPMS (v1.91), to make way for a later version i found sitting on a CD (v1.99). In hindsight i should have just upgraded rather than remove then install the new ones, but im sure i had a good reason at the time...

Anyway, the next time i booted the system, X didnt start and i got the console 'login:' prompt. After kicking it into runlevel 3, and trying to run kdm (my graphical login of choice), i got the following error:

"error in loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory"

Indeed, after running 'xinit' then 'afterstep' (my wm of choice...), any KDE app i tried to run gave the same error.

So what i want to know is where can i find this library file, libGLU.so.1?? I figure it was in one of the KDE packages i removed, but i dont know which one...


Cheers in advance,
Stween

bdl
04-01-2001, 05:15 PM
You should find it under /usr/X11R6/lib. It could be for some reason when you did the RPM removal the libs were removed and possibly:

a) Not replaced within the new KDE version you installed
and/or
b) Different versions were placed under a different path, e.g. /usr/local/lib.

You'll want to (as root) do a:

linuxprompt# find /usr -name 'libGLU*'

This may take a while but it will search your system (under '/usr' that is) for any files of that name and tell you where they're located. You can then verify that the pathname leading to the libs, e.g. /usr/local/lib is in your /etc/ld.so.conf. If not, add the pathname and do an 'ldconfig'. That should set you straight. Otherwise, you'll have to search for the libs and reinstall; I'm not all that familiar with RPM, but you should be able to query your RPM db and find the libs.

bdg1983
04-01-2001, 05:25 PM
If you have to reinstall, you'll find the libs at rpmfind.net (http://rpmfind.net/linux/rpm2html/search.php?query=libglu.so.1)