caffe安装出错

Error in caffe installation

我在 fedora 21 上安装 caffe 时 运行 以下命令时遇到问题

make all

输出:

AR -o .build_release/lib/libcaffe.a
LD -o .build_release/lib/libcaffe.so
/usr/bin/ld: skipping incompatible /usr/lib/libleveldb.so when searching for -lleveldb
/usr/bin/ld: skipping incompatible /usr/lib/libleveldb.so when searching for -lleveldb
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.9.2/../../../libleveldb.so when searching for -lleveldb
/usr/bin/ld: skipping incompatible /lib/libleveldb.so when searching for -lleveldb
/usr/bin/ld: skipping incompatible /usr/lib/libleveldb.so when searching for -lleveldb
/usr/bin/ld: cannot find -lleveldb
/usr/bin/ld: cannot find -lsnappy
/usr/bin/ld: cannot find -lcblas
/usr/bin/ld: cannot find -latlas
collect2: error: ld returned 1 exit status
Makefile:544: recipe for target '.build_release/lib/libcaffe.so' failed
make: *** [.build_release/lib/libcaffe.so] Error 1
[root@parags-pc caffe]# 

请帮忙!

我仍然无法摆脱最后两个(-lcblas 和-latlas)错误。我很久以前就安装了 atlas 和 OpenBLAS。我也尝试了以下命令但没有成功

echo "/usr/lib64/atlas" >/etc/ld.so.conf.d/atlas-x86_64.conf
ldconfig -v

需要一些输入!!

您系统中的 leveldb 似乎是不同的体系结构,很可能是 32 位编译的 leveldb 和 64 位编译的 caffe,反之亦然。

Fedora 编译Caffe 之前需要安装其余的库。