caffe icon indicating copy to clipboard operation
caffe copied to clipboard

unable to run tests . Library not loaded: libhdf5_hl.7.dylib

Open sanjeev87 opened this issue 12 years ago • 1 comments

Hi,

I am trying to install Caffe and get it to work on my mac ( OS x 10.9 ) in CPU only mode.

When I run make runtest , I get the following error

.build_release/test/test_all.testbin 0 --gtest_shuffle --gtest_filter="-GPU"

dyld: Library not loaded: libhdf5_hl.7.dylib

Referenced from: /Users/srao/Workspaces/caffe/.build_release/test/test_all.testbin

Reason: image not found

make: *** [runtest] Trace/BPT trap: 5

I then ran all tests with CPU in the name. build/test/test_all.testbin --gtest_filter='CPU' I got the same error.

I have ensured that libhdf5.7.dylib exists in ($HOME)/anaconda/lib and the following is present in Makefile.config PYTHON_LIB := $(HOME)/anaconda/lib

Please guide me on how to fix this issue.

sanjeev87 avatar Sep 30 '14 02:09 sanjeev87

Add it to your DYLD_LIBRARY_FALLBACK_PATH as detailed in the OSX installation section.

Please ask on caffe-users. Issues are for development discussion. Thanks!

shelhamer avatar Oct 01 '14 00:10 shelhamer