-
-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
❯ sudo docker run -it ghcr.io/rust-cross/manylinux2014-cross:aarch64 bash
root@97c75be59e88:/# env | grep OPENSSL
AARCH64_UNKNOWN_LINUX_GNU_OPENSSL_DIR=/usr/aarch64-unknown-linux-gnu/
root@97c75be59e88:/# ls /usr/aarch64-unknown-linux-gnu/include/
root@97c75be59e88:/# ls /usr/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/include/
c++
root@97c75be59e88:/#An old Dockerfile contains openssl code but the latest Dockerfile only sets AARCH64_UNKNOWN_LINUX_GNU_OPENSSL_DIR.
Does ghcr.io/rust-cross/manylinux2014-cross:aarch64 intend to come with openssl installed?
I couldn't find the installation so manually installed and overwrite AARCH64_UNKNOWN_LINUX_GNU_OPENSSL_DIR.
This AARCH64_UNKNOWN_LINUX_GNU_OPENSSL_DIR is picked up before OPENSSL_DIR or pkg-config by openssl-sys, so I had to set AARCH64_.._LIB_DIR and AARCH64_.._INCLUDE_DIR.
apt-get install -y libssl-dev:arm64
docker-options: |
-e AARCH64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR=/usr/lib/aarch64-linux-gnu
-e AARCH64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR=/usr/include
-e CFLAGS_aarch64_unknown_linux_gnu=-I/usr/include/aarch64-linux-gnu
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels