I am new to linux and openGL programming. i copied an example program and tried compiling it. But there's an error whle linking... Can anyone please help?
[narayana@localhost OpenGL]$ make quad
g++   -lpthread -lglut -lGLU -lGL -lm -lXi -lX11 -lXmu -lXext  quad.cc   -o quad
/usr/bin/ld: cannot find -lglut
collect2: ld returned 1 exit status
make: *** [quad] Error 1
Here're the contents of ld.so.conf:
[narayana@localhost OpenGL]$ cat /etc/ld.so.conf
include ld.so.conf.d/*.conf
I find the following files in /usr/X11R6/lib
[narayana@localhost lib]$ ls /usr/X11R6/lib/libglut*
/usr/X11R6/lib/libglut.la*  /usr/X11R6/lib/libglut.so.3@
/usr/X11R6/lib/libglut.so@  /usr/X11R6/lib/libglut.so.3.7.1*
and /usr/X11R6/include/GL contains glut.h

I'm using Mandriva LE 2005 and i installed glut etc from the CDs.
Please help.