caffe_.mexa64': libcaffe.so: cannot open shared object file: No such file or directory

来源:互联网 发布:安全生产监察大队 知乎 编辑:程序博客网 时间:2024/06/11 04:41
Q:
When run caffe with matlab interface, if we hit:
caffe_.mexa64': libcaffe.so: cannot open shared object file: No such file or directory
-----
Solution:
# vim /etc/profile, and add 
export LD_LIBRARY_PATH=/home/junmuzi/Works/my_works/lstm/caffe-lstm/build/lib:$LD_LIBRARY_PATH
Then,
# source /etc/profile
Then,
restart matlab, this issue will disappear.
0 0