You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Invalid MEX-file '/path/to/rcnn/external/caffe/matlab/caffe/caffe.mexa64': libcudart.so.6.0: cannot open shared object file: No such file or directory
#824
Closed
zyzhong opened this issue
Jul 30, 2014
· 5 comments
I have CUDA 5.5 and CUDA 6.0 installed in /usr/local/, and the LD_LIBRARY_PATH to libcudart.so.6.0 is correct.
I run "make runtest" and it passed, but failed to run /caffe.mexa64.
Actually when I run sudo ldd ./caffe.mexa64, it said libcudart.so.6.0 not found.
Should I uninstall CUDA 5.5 first? Any suggestion?
FYI, after I mv /usr/local/cuda-5.5 away, I can't make caffe successfully because libopencv_core.so need the libcudart.so.5.5
The text was updated successfully, but these errors were encountered:
zyzhong
changed the title
nvalid MEX-file '/path/to/rcnn/external/caffe/matlab/caffe/caffe.mexa64': libcudart.so.6.0: cannot open shared object file: No such file or directory
Invalid MEX-file '/path/to/rcnn/external/caffe/matlab/caffe/caffe.mexa64': libcudart.so.6.0: cannot open shared object file: No such file or directory
Jul 30, 2014
I've experienced similar situation, finally I found out that the setting of "LD_LIBRARY_PATH" didn't work in some case after I look up the value of "LD_LIBRARY_PATH".
I think the command
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/libcudart
might be working in this case.
It's important to make sure your compilation and runtime paths are the same by properly setting your Makefile.config include and library paths along with your environments LD_LIBRARY_PATH.
Please ask any follow-up questions on the caffe-users mailing list. As of the latest release we prefer to keep issues reserved for Caffe development. Thanks!
I have CUDA 5.5 and CUDA 6.0 installed in /usr/local/, and the LD_LIBRARY_PATH to libcudart.so.6.0 is correct.
I run "make runtest" and it passed, but failed to run /caffe.mexa64.
Actually when I run sudo ldd ./caffe.mexa64, it said libcudart.so.6.0 not found.
Should I uninstall CUDA 5.5 first? Any suggestion?
FYI, after I mv /usr/local/cuda-5.5 away, I can't make caffe successfully because libopencv_core.so need the libcudart.so.5.5
The text was updated successfully, but these errors were encountered: