title: undefined reference to symbol 'gluLookAt'
body: <p>I'm using Fedora 16. I've installed freeglut and freeglut-devel packages. I tried to rum a simple opengl program, but i'm getting the following error</p>
  
  <pre><code>gcc cube.c -o cube -lglut
  /usr/bin/ld: /tmp/ccSFol4w.o: undefined reference to symbol 'gluLookAt'
  /usr/bin/ld: note: 'gluLookAt' is defined in DSO /usr/lib/libGLU.so.1 so try adding it to the linker command line
  /usr/lib/libGLU.so.1: could not read symbols: Invalid operation
  collect2: ld returned 1 exit status
  </code></pre>