Hello, i have been wondering here for a month now and still cannot find a suitable solution for the following problem:
When trying to perform 'make all -j8' following the install and compile instructions for Caffe, i constantly get the following error:
AR -o .build_release/lib/libcaffe.a
LD -o .build_release/lib/libcaffe.so.1.0.0
/usr/bin/ld: no se puede encontrar -lhdf5_serial_h
collect2: error: ld returned 1 exit status
Makefile:573: fallo en las instrucciones para el objetivo '.build_release/lib/libcaffe.so.1.0.0'
make: *** [.build_release/lib/libcaffe.so.1.0.0] Error 1
When looking for a solution to this, i came across the simlink op:
within /usr/lib/x86_64-linux-gnu
$ sudo ln -s libhdf5_serial.so.8.0.2 libhdf5.so
$ sudo ln -s libhdf5_serial.so.10 libhdf5_serial.so
Still, whenever i try this i get the following message:
$ sudo ln -s /usr/lib/x86_64-linux-gnu/libhdf5_serial.so.10 /usr/lib/x86_64-linux-gnu/libhdf5.so
ln: fallo al crear el enlace simbólico '/usr/lib/x86_64-linux-gnu/libhdf5.so': El archivo ya existe
$ sudo ln -s /usr/lib/x86_64-linux-gnu/libhdf5_serial.so.10 /usr/lib/x86_64-linux-gnu/libhdf5_serial.so
ln: fallo al crear el enlace simbólico '/usr/lib/x86_64-linux-gnu/libhdf5_serial.so': El archivo ya existe
So i am in a loophole where i cannot make caffe and none of the methods seen so far work.
I have python 2.7 and Opencv 3.1 from Anaconda 4.2 on Ubuntu 16.04
Please, does anybody have an idea on this?