/usr/bin/ld: cannot find -lcblas /usr/bin/ld: cannot find -latlas 这两个问题的解决办法并编译成功
2016-11-29 14:10
906 查看
LD -o .build_release/lib/libcaffe.so
/usr/bin/ld: cannot find -lcblas
/usr/bin/ld: cannot find -latlas
collect2: error: ld returned 1 exit status
Makefile:493: recipe for target '.build_release/lib/libcaffe.so' failed
![](https://oscdn.geek-share.com/Uploads/Images/Content/202009/05/6dca8fb9cde1b3f55e853a74346673e0)
******************************************************************************************************************************************************************************
我在caffe-fast-rcnn这个文件夹下用命令make -j8 编译CAFFE的时候,出现了
/usr/bin/ld: cannot find -lcblas
/usr/bin/ld: cannot find -latlas
这样的错误,确实是蛮烦的。因为我的相关依赖库存都装好了,但是还是编译不过去。我仔细查看了一下相关错误。发现还有一个依赖库没有装。于是我用了这条指令。
sudo apt-get install libatlas-base-dev 又装载了一个库存。接着编译MAKE -J8
于是通过了。如下图
![](https://oscdn.geek-share.com/Uploads/Images/Content/202009/05/b30eea0c92c0728e858a38b815c1e0ed)
到这个时候,我们就编译成功了。走过了好多的路。。。。。。
/usr/bin/ld: cannot find -lcblas
/usr/bin/ld: cannot find -latlas
collect2: error: ld returned 1 exit status
Makefile:493: recipe for target '.build_release/lib/libcaffe.so' failed
******************************************************************************************************************************************************************************
我在caffe-fast-rcnn这个文件夹下用命令make -j8 编译CAFFE的时候,出现了
/usr/bin/ld: cannot find -lcblas
/usr/bin/ld: cannot find -latlas
这样的错误,确实是蛮烦的。因为我的相关依赖库存都装好了,但是还是编译不过去。我仔细查看了一下相关错误。发现还有一个依赖库没有装。于是我用了这条指令。
sudo apt-get install libatlas-base-dev 又装载了一个库存。接着编译MAKE -J8
于是通过了。如下图
到这个时候,我们就编译成功了。走过了好多的路。。。。。。
相关文章推荐
- /usr/bin/ld: cannot find -l**** 问题的解决办法
- 解决编译时遇到的/usr/bin/ld: cannot find -lpthreads问题
- /usr/bin/ld: cannot find -l**** 问题的解决办法
- opencv-3.1.0在Ubuntu系统上使用g++编译时出现“/usr/bin/ld: cannot find -lippicv ” 错误及其解决办法
- make编译Qt原码时出现 /usr/bin/ld: cannot find -lXrender 问题的解决方法
- /usr/bin/ld: cannot find -lxxx问题常见解决办法
- CentOS安装Qt编译错误以及无法调试的问题解决( /usr/bin/ld:cannot find –lGL 和 Debugginghas failed)
- 解决编译linux2.4和linux 2.6内核出现/usr/bin/ld: cannot find -lncurses的问题
- 关于解决Qt OpenGL编译/usr/bin/ld: cannot find -lGL 问题的方法
- 在编译安装程序时候遇到/usr/bin/ld: cannot find -lxxx的时候的解决办法。
- 解决/usr/bin/ld: cannot find -lxxx 问题
- redhat 6.4 x64搭建hustoj 编译core程序出现/usr/bin/ld: cannot find -lmysqlclient解决方法
- 解决/usr/bin/ld: cannot find -lxxx 问题
- 解决找不到/usr/bin/ld: cannot find -lXX的问题
- android4.0 解决/usr/bin/ld: cannot find -lxxx 问题
- Qt编译遇到/usr/bin/ld: cannot find -lGL问题的解决方案
- 解决/usr/bin/ld: cannot find -lxxx 问题合集
- 编译Qt的问题--/usr/bin/ld: cannot find -lbootstrap
- JETSON TK1 cuda6.5 编译darknet cuda版本/usr/bin/ld: cannot find -lcudart cannot find -lcublas 解决
- chkrootkit 编译报错的解决/usr/bin/ld: cannot find -lc