Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
sanjeev87 opened this issue Sep 30, 2014 · 1 comment
Closed

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

sanjeev87 opened this issue Sep 30, 2014 · 1 comment

Comments

@sanjeev87
Copy link

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.

@shelhamer
Copy link
Member

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants