cuda:Missing recommended library: libGLU.so,libX11.so,libXi.so,libXmu.so

安装cuda时可能有下面的信息

Installing the CUDA Toolkit in /usr/local/cuda-8.0 … Missing recommended library: libGLU.so Missing recommended library: libX11.so Missing recommended library: libXi.so Missing recommended library: libXmu.so

原因是缺少相关的依赖库,安装相应库就解决了:

sudo apt-get install freeglut3-dev build-essential libx11-dev libxmu-dev libxi-dev libgl1-mesa-glx libglu1-mesa libglu1-mesa-dev 

再次安装,就不再提示了

$sudo ./cuda_8.0.61_375.26_linux.run

Do you accept the previously read EULA? accept/decline/quit: accept Install NVIDIA Accelerated Graphics Driver for Linux-x86_64 375.26? (y)es/(n)o/(q)uit: n Install the CUDA 8.0 Toolkit? (y)es/(n)o/(q)uit: y Enter Toolkit Location [ default is /usr/local/cuda-8.0 ]: Do you want to install a symbolic link at /usr/local/cuda? (y)es/(n)o/(q)uit: y Install the CUDA 8.0 Samples? (y)es/(n)o/(q)uit: y Enter CUDA Samples Location [ default is /home/guyadong ]: Installing the CUDA Toolkit in /usr/local/cuda-8.0 … Installing the CUDA Samples in /home/guyadong … Copying samples to /home/guyadong/NVIDIA_CUDA-8.0_Samples now… Finished copying samples. =========== = Summary = Driver: Not Selected Toolkit: Installed in /usr/local/cuda-8.0 Samples: Installed in /home/guyadong Please make sure that - PATH includes /usr/local/cuda-8.0/bin - LD_LIBRARY_PATH includes /usr/local/cuda-8.0/lib64, or, add /usr/local/cuda-8.0/lib64 to /etc/ld.so.conf and run ldconfig as root To uninstall the CUDA Toolkit, run the uninstall script in /usr/local/cuda-8.0/bin Please see CUDA_Installation_Guide_Linux.pdf in /usr/local/cuda-8.0/doc/pdf for detailed information on setting up CUDA. ***WARNING: Incomplete installation! This installation did not install the CUDA Driver. A driver of version at least 361.00 is required for CUDA 8.0 functionality to work. To install the driver using this installer, run the following command, replacing with the name of this run file: sudo .run -silent -driver Logfile is /tmp/cuda_install_13101.log Signal caught, cleaning up

参考:

《ubuntu14.04+cuda8.0(GTX1080)+caffe安装》

本文参与腾讯云自媒体分享计划,欢迎正在阅读的你也加入,一起分享。

发表于

我来说两句

0 条评论
登录 后参与评论

相关文章

来自专栏数据和云

实践真知:使用ASM和文件系统的数据库在AIO上有何不同?

张大朋(Lunar)Oracle 资深技术专家 Lunar 拥有超过十年的 ORACLE SUPPORT 从业经验,曾经服务于ORACLE ACS部门,现就职...

2634
来自专栏Golang语言社区

Golang语言 监控文件变化小程序.

package main import ( "log" "github.com/go-fsnotify/fsnotify" ) func main()...

3304
来自专栏Python、Flask、Django

Python 实现一个简单的上下文管理器

1354
来自专栏Golang语言社区

Golang语言中Path包用法

// path package main import ( "fmt" "os" "path" "path/filepath" ) func mai...

3467
来自专栏优启梦

获取lofter官方首页背景壁纸

22110
来自专栏利炳根的专栏

学习笔记TF065: TensorFlowOnSpark

Hadoop生态大数据系统分为Yam、 HDFS、MapReduce计算框架。TensorFlow分布式相当于MapReduce计算框架,Kubernetes相...

5600
来自专栏散尽浮华

open-falcon ---安装Dashboard时候报错"SSLError: The read operation timed out"

在部署open-falcon环境过程中,安装Dashboard时候报错"SSLError: The read operation timed out"。如下: ...

2357
来自专栏技术小黑屋

获取shell脚本所在目录

前几天写的七牛的参赛demo,用bash写了一个便捷安装的脚本,涉及到了路径相关的判断,从stackoverflow,加上自己的实践整理一下。

792
来自专栏Golang语言社区

Golang语言中Path包用法

// path package main import ( "fmt" "os" "path" "path/filepath" ) func mai...

3669
来自专栏运维一切

apache正向代理配置 原

883

扫码关注云+社区