OK, solved this one myself after scouring the nVidia support forums. For he record, here's the story.
The libMesaGLU1-devel RPM, which I did have installed, provides all the /usr/X11R6/lib/libGL*.la files required. The nVidia driver installer, however, executes a 'rm /usr/X11R6/lib/libGL*' to get rid of any Xfree/Mesa libraries that could clash with nVidias own hacked versions of the libraries. Unfortunately, the installer fails to replace the libGL.la file with its own version, hence libtool getting confused. The solution is to create your own /usr/X11R6/lib/libGL.la file as follows, amended to the nVidia version you are using: ------- START LINE, DO NOT INCLUDE ----------- # libGL.la - a libtool library file # Generated by ltmain.sh - GNU libtool 1.3.5 (1.385.2.206 2000/05/27 11:12:27) # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='' # Names of this library. library_names='libGL.so.1.0.4363 libGL.so.1 libGL.so' # Libraries that this one depends upon. dependency_libs=' -lm -lXext -lX11 -ldl -L/usr/X11R6/lib' # Version information for libGL. current=1 age=0 revision=4363 # Is this an already installed library? installed=yes # Directory that this library needs to be installed in: libdir='/usr/lib' ------- END LINE, DO NOT INCLUDE ----------- Cheers! John. On Thu, 12 Jun 2003 00:16, John Layt wrote: > Hi! > > I'm running a recently installed 9.1 and have installed _all_ the XFree and > Mesa -devel RPM's available, and then used the nVidia installer to install > the latest drivers. > > However, when I go to re-compile/link some OpenGL/GLU code I've written > through KDevelop I get the error: > > libtool: link: cannot find the library `/usr/X11R6/lib/libGL.la' > > This is code that was successfully compiling/linking under 8.2. > > Now, I've hunted everywhere for libGL.la and can't find it. I know this > would normally come from the XFree or Mesa -devel packages, but doesn't the > nVidia drivers replace the .so with their own version, so shouldn't they > provide the .la as well? But that still doesn't explain where the > XFree/Mesa one is either. > > Anyone with any suggestions as to where this is? > > Cheers! > > John.
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
