I have installed Mesa-6.0 and install glut-3.7-8.i386.rpm using rpm. However, when I compile my code, I got the below error:
gcc -I/usr/X11R6/include/ -o myWindow -L/usr/X11R6/lXmu -lGL -lGLU -lm -lglut
/usr/bin/ld: cannot find -lglut
collect2: ld returned 1 exit status
make: *** [myWindow] Error 1
Based on previous thread, I did ls /usr/lib/libglut* and I have the following files:
Again, I did echo $LD_LIBRARY_PATH, I got the below message:
After I re-complie my code, the same error re-appears. Can anyone advise what to do and what can be done next.