CUDA on fedora 8 compilation error

I recently installed CUDA 1.1 on fedora 8.(Running on an 8800GT) and driver version 169.04.Everythings fine, but when i try to compile the projects it gets an error as shown below.

[user@localhost bitonic]$ make

/usr/bin/ld: cannot find -lglut

collect2: ld returned 1 exit status

make: *** […/…/bin/linux/release/bitonic] Error 1

This happens for whichever projects i try to compile.

Any suggestions and tips would be much appreciated to get me out of this conundrum.


You have to install the glut libraries.

Thanks for the reply
Im still a noobie trying to make the shift to CUDA on linux
Funny thing is, the OpenGL package was already installed.
Maybe it has a problem finding the library location
Question. Has anyone encountered this before?

GLUT should be part of freeglut (not OpenGL), do an rpm -qa |grep freeglut to see if it is installed.
Look at the release note.
You may need to soft link to

Thanks mfatica.
Worked like a charm.
Actually found a similar thread you had replied to on the same topic.
Taught me to do a more thorough search next time before starting a new thread.