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