Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angularjs/20.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Installation caffe安装中的错误_Installation_Caffe - Fatal编程技术网

Installation caffe安装中的错误

Installation caffe安装中的错误,installation,caffe,Installation,Caffe,在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/

在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,反之亦然


其余的库将在编译Caffe之前安装在Fedora中。

是的,你是对的。我安装了32位leveldb,而不是64位版本。现在问题已经解决了。在我使用“yum install snappy devel”安装snappy之后,与snappy相关的问题也得到了解决。