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

libcrypto.so.2 No such file or directory #357

Closed
hp685 opened this issue Oct 1, 2019 · 1 comment
Closed

libcrypto.so.2 No such file or directory #357

hp685 opened this issue Oct 1, 2019 · 1 comment

Comments

@hp685
Copy link

hp685 commented Oct 1, 2019

I've tried building docker images using both manylinux2010 and manylinux1, and with each image I encountered

libcrypto.so.2 No such file or directory
I can see the shared library under /usr/local/lib/. I've also updated the LD_LIBRARY_PATH to include /usr/local/lib/ but to no avail.
I've followed the discussion here #305 but in this case it looks like its looking for the right shared lib and isn't finding one.

Complete error message
/opt/_internal/cpython-3.7.4/bin/python: error while loading shared libraries: libcrypt.so.2: cannot open shared object file: No such file or directory

@hp685
Copy link
Author

hp685 commented Oct 1, 2019

Updating LD_LIBRARY_PATH at runtime to include /usr/local/lib resolved this. The issue was that, earlier, LD_LIBRARY_PATH was reset at runtime, and therefore it couldn't find the shared lib.

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