[Plib-users] Fw: "Could not find working GLU library" when compiling,
Brought to you by:
sjbaker
From: Kieran O'C. <ki...@ti...> - 2002-09-08 07:42:08
|
I am not actually having this problem anymore. I figured it out. The instructions on downloading and installing PLIB on the PLIB site helped point me in the right direction. It always bothers me, however, when someone writes to simply create a symbolic link in one directory to the library file for X in another directory without giving the slightest hint what the files themselves may be named. Sure, I can figure out, but it's much easier to find out from someone who already knows. Anyway, one of the places I checked for help on this was the mailing list archive. I could not find anything, but maybe my search was not as complete as it could have been. In any case, I am putting the entry I made into my own system log here, so that it might possibly help someone out in future. I probably will not post to this list again, so signing up for the list may be slight overkill. I suppose I could have asked someone on the list to post it for me, but that would have required that I know someone on the list, which probably requires me to already be on the list.... Anyway... When trying to run the .configure script for PLIB 1.6.0 on my system running Linux Mandrake 8.2, the script got to an error: Could not find working GLU library In order to get PLIB 1.6.0 to compile correctly, had to create some symbolic links for several library files: cd /usr/lib ln -s /usr/X11R6/lib/libGLU.so.1 libGLU.so.1 ln -s libGLU.so.1 libGLU.so ln -s /usr/X11R6/lib/libglut.so.3 libglut.so.3 ln -s libglut.so.3 libglut.so That took care of most of the problems with the .configure script of PLIB, but it also complained about glut.h. It is supposed to be in /usr/include/GL, but it is not there. It is also not in /usr/X11R6/include/GL, which is where I hoped to find it. Discovered that the missing file is in the libMesaglut3-devel.rpm, which was not installed. Installed it, it required libMesaGLU1-devel-4.0.1-4mdk.rpm to be installed as a dependency. Installed that as well. After installing that, the .configure script worked. Possibly all those manual symbolic links I made would have been completely unneccessary if I had installed those RPMS to begin with. In any case, it works now. |