libglut problem

18 of the SDK projects will not compile. They all give similar errors:

3(NXDOMAIN):~/NVIDIA_CUDA_SDK/projectExile/nbody # make verbose=1
mkdir -p …/…/lib
mkdir -p obj/release
mkdir -p …/…/bin/linux/release
g++ -fPIC -o …/…/bin/linux/release/nbody obj/release/nbody_gold.cpp_o obj/release/bodysystemcpu.cpp_o obj/release/bodysystemcuda.cpp_o obj/release/nbody.cpp_o obj/release/render_particles.cpp_o obj/release/bodysystemcuda.cu_o -L/usr/local/cuda/lib -L…/…/lib -L…/…/common/lib/linux -lcudart -lGL -lGLU -lGLEW_x86_64 -lglut -lparamgl -L/usr/local/cuda/lib -L…/…/lib -L…/…/common/lib/linux -lcutil
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/…/…/…/…/x86_64-suse-linux/bin/ld: cannot find -lglut
collect2: ld returned 1 exit status
make: *** […/…/bin/linux/release/nbody] Error 1

My file system has no files or folders named lglut. There are, however, two files:

/usr/lib64/libglut.so.3 278.3KB
/usr/lib64/libglut.so.3.8.0 278.3KB

Is there a package I have to install or is this a path problem.

I am no linux whiz. If you care to respond, please keep it simple. Thanks, Skippy

I think you can do yast2 --install freeglut-devel

Thanks, works fine. Skippy

you have a try to input: ln -s /usr/lib64/libglut.so.3 /usr/lib64/libglut.so
then it may be ok! ^_^

good suggestion, lucas! worked for me (dual gtx280 system under Fedora10).