ubunut14.04配置caffe时出现 error while loading shared libraries: libopencv_core.so.3.2: cannot open share
来源:互联网 发布:grub引导修复 ubuntu 编辑:程序博客网 时间:2024/06/08 15:10
ubunt14.04在配置caffe时到了make runtest这一步时,出现了如下的错误
error while loading shared libraries: libopencv_core.so.3.2: cannot open shared object file: No such file or directory
从这个提示可以知道系统找不到libopencv_core.so.3.2在哪儿,而系统是通过/etc/ld.so.conf中的路径找.so这个文件的。将libopencv_core.so.3.2的路径加入到.conf文件中就可以了。.so文件一般存放在/usr/local/lib目录下,博主进入这个文件目录下果然发现了这个文件。
对ld.so.conf这个文件进行编辑是需要获取超级权限的。
cd ~ //先返回到根目录sudo vim /etc/ld.so.conf //获取超级权限,并用vim编辑器打开该文件进入vim编辑器之后先输入i 进入vim的编辑模式,然后在末尾加入/usr/local/lib即可,添加完之后,先按esc建退出编辑装态,然后输入:wq 保存并退出
退出后执行下面的语句使之生效
sudo ldconfig
然后再运行make runtest 就可以正常运行了。
阅读全文
0 0
- ubunut14.04配置caffe时出现 error while loading shared libraries: libopencv_core.so.3.2: cannot open share
- caffe出现error while loading shared libraries: libopencv_core.so.3.1: cannot open shared object file:
- QtOpenCV: error while loading shared libraries: libopencv_core.so.3.2: cannot open shared object fil
- error while loading shared libraries: libopencv_core.so.2.4: cannot open shared object file: No such
- build_release/tools/caffe: error while loading shared libraries: libopenblas.so.0: cannot open share
- /usr/local/bin/memcached: error while loading shared libraries: libevent-1.3.so.1: cannot open share
- 运行so文件时,出现error while loading shared libraries: libjvm.so: cannot open shared object file...
- sphinx 运行出现 error while loading shared libraries: libmysqlclient.so.16: cannot open shared object
- 启动Memcache,出现memcached: error while loading shared libraries: libevent-1.4.so.1: cannot open shared
- error while loading shared libraries: libmysqlclient.so.16: cannot open
- linux下调用oracle OCI时出现的问题 error while loading shared libraries: libclntsh.so.10.1: cannot open shared
- 安装ogg时出现./ggsci: error while loading shared libraries: libGGicu25.so: cannot open shared object file
- 执行nginx报错,找不到库./sbin/nginx: error while loading shared libraries: libcrypto.so.6: cannot open share
- ubuntu下安装andt出现error while loading shared libraries: libncurses.so.5: cannot open shared object file
- 编译Gmssl出现错误 error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No
- ubuntu编译android出现error while loading shared libraries: libstdc++.so.6: cannot open shared objec的解决方法
- error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file
- error while loading shared libraries: libperl.so: cannot open shared object file.
- Coin Change
- 康托展开与康托展开的逆运算
- 缺课两周后的数值计算笔记
- VMWare克隆CentOS虚拟机后eth0不存在
- 题目:JavaScript编程题 页面上输入一个年份(需验证),判断是否是闰年(能被4整除却不能被100整除的年份;能被400整除的是闰年),需在页面上显示提示信息
- ubunut14.04配置caffe时出现 error while loading shared libraries: libopencv_core.so.3.2: cannot open share
- Spring Boot(三)——Redis
- 网狐荣耀版安卓端的签名与打包
- UITableView的 beginUpdates 和 endUpdates
- Python之logging,os,sys模块简析
- socket阻塞与非阻塞,同步与异步、I/O模型
- 纯CSS气泡框实现方法探究
- Leetcode481. 魔力字符串
- Joint Sequence Learning and Cross-Modality Convolution for 3D Biomedical Segmentation笔记