LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   libGL.la (https://www.linuxquestions.org/questions/linux-software-2/libgl-la-268961/)

art3mis 12-21-2004 06:12 PM

libGL.la
 
I'm trying to compile kvirc, but when I type make kvirc, it ends up with displaying:

grep: /usr/X11R6/lib/libGL.la: No such file or directory
sed: can't read /usr/X11R6/lib/libGL.la: No such file or directory
libtool: link: `/usr/X11R6/lib/libGL.la' is not a valid libtool archive
make[4]: *** [libkvilib.la] Error 1
make[4]: Leaving directory `/home/eivind/Documents/kvirc-3.0.1/src/kvilib/build'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/eivind/Documents/kvirc-3.0.1/src/kvilib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/eivind/Documents/kvirc-3.0.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/eivind/Documents/kvirc-3.0.1/src'
make: *** [all-recursive] Error 1

It shows that it can't find libGL.la, but what is it, and where can I get it?

(I searched the forum for libgl.la, and found almost 300 posts. I didn't bother to look through all of them....)

leonscape 12-21-2004 06:22 PM

libGL is part of openGL. Do you have an openGL driver installed? ( mesa, ati, nvidia )

art3mis 12-21-2004 06:45 PM

Yes, I have (nVidia) and it's working perfectly (60 -70 fps in CS 1.6 just as in my win2k).

foo_bar_foo 12-22-2004 12:20 AM

the nvidia drivers don't install developement things so you can't link to them so you have to do it by hand
this can get extreemly confusing and or confused if you have other GL versions like openGL GLade and whatever so write down what you do and look to see what's where and where there are symlinks

extract the nvidia driver (i think with an -x argument to the .run thing)
./NVIDIA-Linux-x86-1_0-5336-pkg1.run -x
in there is NVIDIA-Linux-x86-1.0-5336-pkg1/usr/include/GL folder it should be in /usr/include
so you then have /usr/include/GL as opposed to a GL link pointing back to /usr/X11R6/include
NVIDIA-Linux-x86-1.0-5336-pkg1/usr/lib is where the lib files are
compile if nesesarry to get the lib files (i think just "make" will do it but you can do "make install" if you have to and it won't hurt anything) just overwrite with the same stuff
i just put the libGL.la out of that folder into /usr/lib where the library files were installed and it works
everything complains about it's date and the fact that it was moved but it still works fine
perhaps a new compile and install and copy it right then and no more complaints i don't know ?

art3mis 12-22-2004 06:49 AM

Thanks :P
At least it goes further... Haven't finished yet, but it seems ok now... ;)

art3mis 12-22-2004 08:50 AM

IT WORKED !!! :P
Thank you!!! :P


All times are GMT -5. The time now is 03:28 PM.