-
Notifications
You must be signed in to change notification settings - Fork 166
import fails on Linux due to missing library libcrypto.so.10 #418
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
Comments
I think @ejguan is on it pytorch/text#1729 (comment) |
I think I found the issue: the Linux wheel build is running in a specific container
which has a different version of $ docker run quay.io/pypa/manylinux2014_x86_64 bash -c 'ls -l /usr/lib64 | grep libcrypto'
lrwxrwxrwx 1 root root 19 Apr 18 12:29 libcrypto.so.10 -> libcrypto.so.1.0.2k
-rwxr-xr-x 1 root root 2520920 Mar 28 15:42 libcrypto.so.1.0.2k $ docker run ubuntu:22.04 bash -c 'ls -l /usr/lib/x86_64-linux-gnu | grep libcrypto'
-rw-r--r-- 1 root root 4447536 Mar 16 08:35 libcrypto.so.3 I was unable to install Thus, if we depend on this specific version, we probably need to ship it with wheel. |
@pmeier Thanks for reporting this. I will take a deeper look. |
I think
|
Nope. As you can see above, $ docker run -it quay.io/pypa/manylinux2014_x86_64 bash
$ ls -l /usr/lib64 | grep libcrypto
lrwxrwxrwx 1 root root 19 Apr 18 12:29 libcrypto.so.10 -> libcrypto.so.1.0.2k
-rwxr-xr-x 1 root root 2520920 Mar 28 15:42 libcrypto.so.1.0.2k
$ yum -y install openssl-devel openssl-static curl-devel zlib-devel
[...]
$ ls -l /usr/lib64 | grep libcrypto
-rw-r--r-- 1 root root 4697014 Mar 28 15:42 libcrypto.a
lrwxrwxrwx 1 root root 19 May 18 13:57 libcrypto.so -> libcrypto.so.1.0.2k
lrwxrwxrwx 1 root root 19 Apr 18 12:29 libcrypto.so.10 -> libcrypto.so.1.0.2k
-rwxr-xr-x 1 root root 2520920 Mar 28 15:42 libcrypto.so.1.0.2k
|
@ejguan Thanks for looking into this. The specific issue is currently breaking TorchVision's CI for new PRs, which can cause some confusion to contributors. As Philip clarified, the issue only appears on Linux. Do you have any idea on when the fix will land? Do you recommend us to turn off the test until this is done? Thanks! |
The problem is that the AWS package pulls in If we want to depend on the compiled AWS package, we need ship Looking at the CMakeLists.txt of the AWS package, |
I am working on a PR to compile AWS with static libcrypto and shipped with TorchData. |
Let me update TorchData binary for Linux without AWS first. |
@ejguan Thanks for the update. Can you provide a very rough estimate on when you believe this will become available? We are trying to figure out if we should disable the specific CI job or leave it be. A rough estimate will help us decide this easier. |
I don't think you need to disable CI. I can re-upload a new TorchData binary without AWSSDK. This should resolve the problem for TorchVision CI. |
All nightly should be updated https://github.com/pytorch/data/actions/runs/2353439246 |
Closing this issue as #421 has landed. |
torchvision
is seeing CI failures on Linux for a missing extension loaded bytorchdata
. I can reproduce withdocker
:docker run python:3.7 bash -c \ 'pip install --pre torch torchdata --extra-index-url https://download.pytorch.org/whl/nightly/cpu && python -c "import torchdata"'
#399 might be the offender. #415 did not make it into yesterday's nightly.
The text was updated successfully, but these errors were encountered: