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

Keystone fails to find sharedlib #1

Open
clemen19 opened this issue Jul 14, 2019 · 1 comment
Open

Keystone fails to find sharedlib #1

clemen19 opened this issue Jul 14, 2019 · 1 comment

Comments

@clemen19
Copy link
Collaborator

Get an error when running halucinator like below

File "<virt_environment>/halucinator/local/lib/python2.7/site-packages/keystone/keystone.py", line 75, in <module>
    raise ImportError("ERROR: fail to load the dynamic library.")

Share keystone's share library gets put in wrong place on Ubuntu 16.04
keystone-engine/keystone#235

Work around

Assuming you virtual environment is halucinator and stored in ~/.virtualenvs. The below resolves this issue

cp ~/.virtualenvs/halucinator/lib/python2.7/lib-dynload/libkeystone.so ~/.virtualenvs/halucinator/local/lib/python2.7/site-packages/keystone/
@mariusmue
Copy link

This issue did haunt avatar2 for quite a while as well. However, it seems like the latest version of keystone on pypi seems to fix this issue.
Hence, feel free to give it a try and close the issue if the problem does not persist anymore.

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

2 participants