CAFFE make failed

104 views
Skip to first unread message

stepan....@gmail.com

unread,
Feb 22, 2018, 9:00:16 AM2/22/18
to Caffe Users
Hi, all!

I'm trying to get caffe installed on a new Ubuntu 17.04 install. (i want to do a CPU only compile. )

I am trying to build caffe with make all command, but get the following error:


CXX src/caffe/util/db_lmdb.cpp
AR
-o .build_release/lib/libcaffe.a
LD
-o .build_release/lib/libcaffe.so.1.0.0
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5_hl.a(H5LTanalyze.o): relocation R_X86_64_PC32 against symbol `H5LTyyin' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
Makefile:572: recipe for target '.build_release/lib/libcaffe.so.1.0.0' failed
make: *** [.build_release/lib/libcaffe.so.1.0.0] Error 1

Any help would be appreciated!

Przemek D

unread,
Feb 23, 2018, 5:21:13 AM2/23/18
to Caffe Users
There are a couple answers given on our github issue tracker, for example this one. Does it work for you?
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
Message has been deleted
0 new messages