dacao@Das-MacBook-Air:~/caffe$ sudo make runtest
.build_release/tools/caffe
dyld: Library not loaded: @rpath/libcudart.7.5.dylib
Referenced from: /Users/dacao/caffe/.build_release/tools/caffe
Reason: image not found
make: *** [runtest] Trace/BPT trap: 5
this error above pops up in "sudo make runtest". I did some research online and it seems to be a very common error when people try to install.
However, I have tried all the solutions that I could find, and no matter how I set up the environment, this error keeps popping up
1. I have got all the dependancies installed.
2. "sudo make all" and "sudo make test" finished with no error (however there are a few warnings, which I think everyone would have)
3. immediately after "sudo make all" and "sudo make test", after I type "sudo make runtest", this error pops out!
Can anyone please help?
here is my ENV:
dacao@Das-MacBook-Air:~/caffe$ env
TERM_PROGRAM=Apple_Terminal
DYLD_FALLBACK_LIBRARY_PATH=/usr/local/cuda/lib:/Users/dacao/anaconda/lib:/usr/local/lib:/usr/lib:/Developer/NVIDIA/CUDA-7.5/lib
SHELL=/bin/bash
TMPDIR=/var/folders/ds/n0kkjc_9313d_cjnlp4kqg8c0000gn/T/
Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.Dr2TBO3WBs/Render
TERM_PROGRAM_VERSION=343.7
OLDPWD=/Users/dacao
TERM_SESSION_ID=ECFF5816-96C9-4384-A617-BE99B5E8202E
USER=dacao
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.Llr8xjrdew/Listeners
__CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0
LSCOLORS=exfxcxdxbxegedabagacad
PATH=/Developer/NVIDIA/CUDA-7.5/bin:/Users/dacao/anaconda/bin:/anaconda/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/3.4/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/git/bin
PWD=/Users/dacao/caffe
LANG=en_US.UTF-8
XPC_FLAGS=0x0
PS1=\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$
XPC_SERVICE_NAME=0
SHLVL=1
HOME=/Users/dacao
DYLD_LIBRARY_PATH=/usr/local/cuda/lib:/Developer/NVIDIA/CUDA-7.5/lib:/Developer/NVIDIA/CUDA-7.5/lib
LOGNAME=dacao
DISPLAY=/private/tmp/com.apple.launchd.Kub5uO5a7s/org.macosforge.xquartz:0
_=/usr/bin/env
Note that PATH, DYLD_LIBRARY_PATH and DYLD_FALLBACK_LIBRARY_PATH are all set up:
DYLD_LIBRARY_PATH=/usr/local/cuda/lib:/Developer/NVIDIA/CUDA-7.5/lib:/Developer/NVIDIA/CUDA-7.5/lib
DYLD_FALLBACK_LIBRARY_PATH=/usr/local/cuda/lib:/Users/dacao/anaconda/lib:/usr/local/lib:/usr/lib:/Developer/NVIDIA/CUDA-7.5/lib
PATH=/Developer/NVIDIA/CUDA-7.5/bin:/Users/dacao/anaconda/bin:/anaconda/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/3.4/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/git/bin