在ubuntu下编译opencv程序后,执行报下面到错误: error while loading shared libraries: libopencv_core.so.2.4: cannot op
2017-06-10 17:59
621 查看
在ubuntu下编译opencv程序后,执行报下面到错误:
error while loading shared libraries: libopencv_core.so.2.4: cannot open shared object file: No such file or directory
解决方法:找到libopencv_开头到库的目录,在/usr/local/lib下面,在/etc/ld.so.conf.d/下面新建一个opencv.conf,里面写入/usr/local/lib,最后执行下sudo ldconfig -v即可。
error while loading shared libraries: libopencv_core.so.2.4: cannot open shared object file: No such file or directory
解决方法:找到libopencv_开头到库的目录,在/usr/local/lib下面,在/etc/ld.so.conf.d/下面新建一个opencv.conf,里面写入/usr/local/lib,最后执行下sudo ldconfig -v即可。
相关文章推荐
- 在ubuntu下编译opencv程序后,执行报下面到错误: error while loading shared libraries: libopencv_core.so.2.4: cannot op
- OpenCV编译遇到的一个常见错误-./bin: error while loading shared libraries: libopencv_highgui.so.3.2: cannot open
- 编译安装postfix, 执行make install时报错: bin/postconf: error while loading shared libraries: libmysqlclient.s
- error while loading shared libraries: libopencv_core.so.2.4: cannot open shared object file: No such
- 编译Gmssl出现错误 error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No
- centos打开Android Studio后出现的错误:adb: error while loading shared libraries: libncurses.so.
- Ubuntu12.04安装64位系统出现编译错误error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or dir
- error while loading shared libraries: libopencv_nonfree.so.2.4
- Liunx 运行用 Intel MKL 库文件的程序出错 “error while loading shared libraries libmkl_intel.so” 解决办法
- error while loading shared libraries: libopencv_highgui.so.3.0: cannot open shared object file问题解决
- ./facedetect: error while loading shared libraries: libopencv_nonfree.so.2.4:
- 编译C连接MySQL 提示 error while loading shared libraries: libmysqlclient.so.
- 错误解决error while loading shared libraries: libXXX.so.X: cannot open shared object file: No such file
- 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: libXXX.so.X: cannot open shared object file: No such file
- 错误解决error while loading shared libraries: libXXX.so.X: cannot open shared object file: No such file
- error while loading shared libraries: libopencv_imgcodecs.so.3.1
- 错误解决error while loading shared libraries: libXXX.so.X: cannot open shared object file: No such file
- 解决 Magent 安装编译时出现错误和magent: error while loading shared libraries: libevent-2.0.so.5