Library not loaded: @rpath/libcudart.6.0.dylib
I'm using MAC OS 10.9 and I have completed make pycaffe. However, when trying to import caffe in ipython, it complains about Library not loaded: @rpath/libcudart.6.0.dylib. The full error msg is in https://gist.github.com/clwen/b77a59748e15ead9231e
I have followed the latest instruction guide (as of today) and uncommented the last two lines for CUDA_ARCH in the Makefile.config because I have installed CUDA 6.0. Specifically -gencode=arch=compute_50,code=sm_50 and -gencode=arch=compute_50,code=compute_50
Any hints? Thank you.
Add this line into .bashrc/.zshrc solves the problem:
export DYLD_LIBRARY_PATH='/usr/local/cuda/lib/'
The actual path might be different according to your system.