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 条评论
登录 后参与评论

相关文章

来自专栏杨建荣的学习笔记

配置dg broker的问题分析及修复(r6笔记第84天)

最近从同事那儿接手了一套新环境,备库因为服务器问题已经下架,重新配了一台服务器,所以需要搭一套备库,主库已经配置好了,而且同事已经把在主库把dg broker配...

3357
来自专栏数据之美

修改 mysql/oracle/bash/vimrc/cmd 提示符格式与颜色

(1)修改mysql提示符: MySQL 客户端的默认提示符是 "mysql>",基本上没什么实际作用。其实可以修改这个提示符,让它显示一些有用的信息,例如当前...

21310
来自专栏技术小黑屋

Issues About Installing Octopress

Actually I am fresh to Write Blog with Octopress in Github Pages.According to th...

832
来自专栏k8s

k8s-组件-apiserver

K8s-apiserver组件是k8s集群核心组件,所有其他组件均需要与apiserver进行交互。apiserver提供rest服务,并对k8s资源进行操作。

4742
来自专栏数据库新发现

使用Oracle Wrap工具加密你的代码

Last Updated: Monday, 2004-11-15 22:31 Eygle

712
来自专栏张善友的专栏

How does it work in Mono's C# compiler?

Introduction Mono is an Open Source free programming language project. It is an ...

2727
来自专栏Coding01

通过 Laradock 学 Docker —— 配置篇

众所周知docker https://www.docker.com 是当前最火热的容器引擎,因为沙盒特性,即插即用和快速方便的部署能力受到广大用户的喜爱。

1124
来自专栏我的博客

Subversion 301 Moved Permanently 的解決方法

1.要保证svn和document不同一目录 官方说明:http://subversion.tigris.org/project_faq.html#301-er...

1913
来自专栏智能计算时代

Instant Messaging at LinkedIn: Scaling to 10000 of Connections

We recently introduced Instant Messaging on LinkedIn, complete with typing indic...

2685
来自专栏张善友的专栏

Line Counter - Writing a Visual Studio 2005 Add-In

Download original source files - 553 Kb Download new source files - 1483 Kb Do...

1748

扫码关注云+社区