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
We are building a C++ extension using the manylinux2014 container and we are running into some problems when using auditwheel repair. Currently we are using
$ pip install pyopenms-2.4.0-cp38-cp38-manylinux2014_x86_64.whl
Processing ./pyopenms-2.4.0-cp38-cp38-manylinux2014_x86_64.whl
Requirement already satisfied: numpy in /media/doc/pyenv/py38_bleeding/lib/python3.8/site-packages (from pyopenms==2.4.0) (1.18.1)
Installing collected packages: pyopenms
Successfully installed pyopenms-2.4.0
$ python -c "import pyopenms"
[...]
ImportError: /media/doc/pyenv/py38_bleeding/lib/python3.8/site-packages/pyopenms/.libs/libcrypto-957ef781.so.1.0.2k: version `libcrypto.so.10' not found (required by /media/doc/pyenv/py38_bleeding/lib/python3.8/site-packages/pyopenms/.libs/libQt5Network-98a68770.so.5.9.7)
so basically: ImportError: /media/doc/pyenv/py38_bleeding/lib/python3.8/site-packages/pyopenms/.libs/libcrypto-957ef781.so.1.0.2k: version `libcrypto.so.10' not found (required by /media/doc/pyenv/py38_bleeding/lib/python3.8/site-packages/pyopenms/.libs/libQt5Network-98a68770.so.5.9.7)
the dependency comes from libQt5Network which requires these libraries
Note that /lib64/libcrypto.so.10 is a symlink to libcrypto.so.1.0.2k which seems to be the version that is packaged by auditwheel.
I dont have a great understanding of what is going on here, but is it possible that libQt5Network is looking for libcrypto with version 10 (eg libcrypto.so.10) while this cannot be found anywhere in the Python package since the name and SONAME are different?
Also, the same thing seems to be happening for libssl.
The text was updated successfully, but these errors were encountered:
PS: the error disappears when I open up the created wheel and replace the affected two libraries with the ones from /lib64/ and the Python wheel works.
We are building a C++ extension using the manylinux2014 container and we are running into some problems when using
auditwheel repair
. Currently we are usingThe error we get is the following
so basically: ImportError: /media/doc/pyenv/py38_bleeding/lib/python3.8/site-packages/pyopenms/.libs/libcrypto-957ef781.so.1.0.2k: version `libcrypto.so.10' not found (required by /media/doc/pyenv/py38_bleeding/lib/python3.8/site-packages/pyopenms/.libs/libQt5Network-98a68770.so.5.9.7)
the dependency comes from
libQt5Network
which requires these librariesI am not sure about this but what I noticed is that the SONAME is different in the file that is packaged by audithweel:
Note that
/lib64/libcrypto.so.10
is a symlink tolibcrypto.so.1.0.2k
which seems to be the version that is packaged by auditwheel.I dont have a great understanding of what is going on here, but is it possible that
libQt5Network
is looking forlibcrypto
with version 10 (eglibcrypto.so.10
) while this cannot be found anywhere in the Python package since the name and SONAME are different?Also, the same thing seems to be happening for libssl.
The text was updated successfully, but these errors were encountered: