Error while 'make runtest'

1,846 views
Skip to first unread message

Ilya Zhenin

unread,
May 6, 2015, 10:26:55 AM5/6/15
to caffe...@googlegroups.com
I successfully run "make all" and "make test", but when I'm trying to "make runtest" it gives error either with CUDA or hdf5:

.build_release/tools/caffe: error while loading shared libraries: libhdf5_hl.so.9: cannot open shared object file: No such file or directory
make: *** [runtest] Error 127

I tried "locate libhdf5_hl.so". Output is:

/usr/lib/x86_64-linux-gnu/libhdf5.so
/usr/lib/x86_64-linux-gnu/libhdf5.so.7
/usr/lib/x86_64-linux-gnu/libhdf5.so.7.0.0

There is no .9 version..Or what is it? 

I tried to add this location to 

sudo gedit /etc/ld.so.conf.d/caffeLibs.conf

But it didn't helped.

I'm trying to build under Ubuntu 14.04 LTS, doing everything as said in Caffe tutorial. 

How do I fix it?

Ehsan

unread,
May 6, 2015, 2:20:06 PM5/6/15
to caffe...@googlegroups.com
This has been addressed here https://groups.google.com/forum/#!topic/caffe-users/tjRiYa8-VjI 

I followed the same way and added libhdf5_hl.so.9 library to the path. I had already installed anaconda and this library was in /home/caffe/anaconda/lib 

Best,
Ehsan
Reply all
Reply to author
Forward
0 new messages