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 required libraries.
So, in the /tmp/cuda_install_2340.log I've got:
Missing required library libglut.so
But I have installed it before, because I do:
facundo@gpgpu:~$ locate libglut
/usr/lib/x86_64-linux-gnu/libglut.a
/usr/lib/x86_64-linux-gnu/libglut.so
/usr/lib/x86_64-linux-gnu/libglut.so.3
/usr/lib/x86_64-linux-gnu/libglut.so.3.9.0
So, What is the problem? I am on Ubuntu 12.04
Running the Compiled Examples. CUDA Samples are located in https://github.com/nvidia/cuda-samples. To use the samples, clone the project, build the samples, and run them using the instructions on the Github page.
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/.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With