[Gllug] library includes and compiling

Jonathan Dye jonathan.dye at automationpartnership.com
Tue Jan 8 11:25:07 UTC 2002


I'm trying to compile against the OpenGL libraries in /usr/X11R6/lib by doing

gcc source.c -lGL

but it doesn't find them.  I have /usr/X11R6/lib in /etc/ld.so.conf and
I've run ldconfig. I guess that this is related to run-time linking though
rather than compile-time linker search directories because it doesn't help.
I can compile using

gcc source.c -L/usr/X11R6/lib -lGL

but I was hoping to aviod this if possible.
Can anyone help?

JD

_____________________________________________________________________
This message has been checked for all known viruses by the 
MessageLabs Virus Scanning Service

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list