Prior to the application which i'm working on now, i made a minimal demo application utilizing freeglut. At least, so i thought.

In the current application - which is supposed to make use of freeglut as well - i noticed something disturbing and now i
think i've never been able to successfully use freeglut at all - because the glut library never gets initialized afaik!

I'm developing on ubuntu 12.04 lts, and installed freeglut3, freeglut3-dev and freeglut3-dbg through apt-get.
A certain graphics.c includes <GL/gl.h> as well as <GL/freeglut.h>.
My Makefile compiles the sources as follows without error:
gcc -Wall -g obj/main.o obj/graphics.o -lGL -lglut -o program
Debugging with gdb i stumbled upon this:
glutInit (pargc=0x7fffffffdf5c, argv=0x7fffffffe058) at freeglut_init.c:719
719 freeglut_init.c: No such file or directory.
Does this mean freeglut was never successfully installed, even though I used a package manager?
I've tried building from source as well, but "make install" told me there's nothing to be done.

Furthermore a few questions which i still seem to never understand or find when reading an API,
Where can i find information about compiling, which header(s) to include?
How can i confirm freeglut is installed successfully and what's the (free)glut library called?
How come i can open a (free)glut window while the glut library is not initialized?