I tried to install the full CUDA 5.0 package but I got the following error:
Driver: Not Selected
Toolkit: Not Selected
Samples: Installation Failed. Missing
On CentOS 5.6 x64
, Kernel: 2.6.18-308.24.1.el5
1. yum install freeglut
2. ln -s /usr/lib/libglut.so.3 /usr/lib/libglut.so
then i also install CUDA 5.0
Sample successfully.
Thanks this post.
I'm on Ubuntu 12.04, I fixed it by the following:
sudo ln -s /usr/lib/x86_64-linux-gnu/libglut.so /usr/lib/libglut.so
So the problem was ubuntu are installing libglut library in a different path for x64 architectures, so it can be fixed making a symbolic link to /usr/lib/.
Ubuntu 12.04 x64 actually creates a /usr/lib/glut.so -- it just points to libglut.so.3 not /usr/lib/x86_64-linux-gnu/libglut.so
rm /usr/lib/libglut.so;
ln -s /usr/lib/x86_64-linux-gnu/libglut.so /usr/lib/libglut.so