[oclug] Lib link path problem

Gilles J. Seguin segg at infonet.ca
Mon Mar 11 15:21:31 EST 2002


Johnathan Hicks wrote:
> 
> A while ago a problem popped up that /usr/X11R6/lib was no longer in the
> default link path (or whatever it's called). I noticed this because when
> compinling some things I've been messing with using OpenGL (libGL.so) I had to
> use '-L/usr/X11R6/lib' when I didn't have to before. My guess is that gcc was
> grabbing a symlink from /usr/local/lib/libGL.so to /usr/X11R6/lib/libGL.so or
> something similar. What do the more experienced amoung us think?
> --John

$ rpm -ql Mesa | grep libGL
/usr/lib/libGL.so.1
/usr/lib/libGL.so.1.2.030402
/usr/lib/libGLU.so.1
/usr/lib/libGLU.so.1.1.030402

We do not want /usr/X11R6/lib or /usr/lib/X11 in the default path.

And it must be the location of libGL.so that have move to
want seams to be now /usr/X11R6/lib



More information about the OCLUG mailing list