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

ImportError: libcaffe.so.1.0.0: cannot open shared object file: No such file or directory #2

Closed
dapperfu opened this issue Aug 29, 2018 · 0 comments

Comments

@dapperfu
Copy link
Owner

dapperfu commented Aug 29, 2018

Make sure the caffe library can find the shared libraries:

Assuming caffe is installed to /opt/caffe:

Temporarily:

export LD_LIBRARY_PATH=~/.local/caffe/distribute/lib:$LD_LIBRARY_PATH

Permanently for current user (starting with next shell):

echo 'export LD_LIBRARY_PATH=~/.local/caffe/distribute/lib:$LD_LIBRARY_PATH' >> ~/.bashrc

For all users on the computer.

echo /opt/caffe/distribute/lib > /etc/ld.so.conf.d/caffe.conf
ldconfig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant