error running sample codes

I am quite new to cuda. I have been trying to run the sample codes that come in

/home/vbalu2/NVIDIA_CUDA_SDK/projects

but i get this error and i am not able to figure out what the problem is. Could someone help me out?

/usr/bin/ld: cannot find -lglut

collect2: ld returned 1 exit status

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

Just to add to the post, i get this error when i do a make NVIDIA_CUDA_SDK in

make[1]: Entering directory `/home/vbalu2/NVIDIA_CUDA_SDK/common’

a - obj/release/bank_checker.cpp_o

a - obj/release/cmd_arg_reader.cpp_o

a - obj/release/cutil.cpp_o

a - obj/release/stopwatch.cpp_o

a - obj/release/stopwatch_linux.cpp_o

a - obj/release/multithreading.cpp_o

make[1]: Leaving directory `/home/vbalu2/NVIDIA_CUDA_SDK/common’

make[1]: Entering directory `/home/vbalu2/NVIDIA_CUDA_SDK/common’

a - obj/release/paramgl.cpp_o

a - obj/release/param.cpp_o

make[1]: Leaving directory `/home/vbalu2/NVIDIA_CUDA_SDK/common’

make -C projects/imageDenoising/

make[1]: Entering directory `/home/vbalu2/NVIDIA_CUDA_SDK/projects/imageDenoising’

/usr/bin/ld: cannot find -lglut

collect2: ld returned 1 exit status

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

make[1]: Leaving directory `/home/vbalu2/NVIDIA_CUDA_SDK/projects/imageDenoising’

make: *** [projects/imageDenoising/Makefile.ph_build] Error 2

Hope someone could help me

Look at the release notes. There is a problem with glut (missing symbolic link)

thanks a lot. I checked the release notes and did what was suggested but it hasnt solved the problem. i get this

[vbalu2@sli2 NVIDIA_CUDA_SDK]$ sudo make

make[1]: Entering directory `/home/vbalu2/NVIDIA_CUDA_SDK/common’

a - obj/release/bank_checker.cpp_o

a - obj/release/cmd_arg_reader.cpp_o

a - obj/release/cutil.cpp_o

a - obj/release/stopwatch.cpp_o

a - obj/release/stopwatch_linux.cpp_o

a - obj/release/multithreading.cpp_o

make[1]: Leaving directory `/home/vbalu2/NVIDIA_CUDA_SDK/common’

make[1]: Entering directory `/home/vbalu2/NVIDIA_CUDA_SDK/common’

a - obj/release/paramgl.cpp_o

a - obj/release/param.cpp_o

make[1]: Leaving directory `/home/vbalu2/NVIDIA_CUDA_SDK/common’

make -C projects/imageDenoising/

make[1]: Entering directory `/home/vbalu2/NVIDIA_CUDA_SDK/projects/imageDenoising’

/usr/bin/ld: skipping incompatible /usr/lib/libglut.so when searching for -lglut

/usr/bin/ld: cannot find -lglut

collect2: ld returned 1 exit status

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

make[1]: Leaving directory `/home/vbalu2/NVIDIA_CUDA_SDK/projects/imageDenoising’

make: *** [projects/imageDenoising/Makefile.ph_build] Error 2

You never stated which Linux distribution, you’re running, however the problem us that you don’t have a libglut for the arch you’re building against.

Itz fedora 7 and this is the display driver i am using NVIDIA-Linux-x86_64-169.07-pkg2.run

does it have anything to do with the drivers?

I solved the issue, i was trying to use 32 bit version , i used the one from /usr/lib64. It works. Thanks