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
I encountered an issue with asyncua when installing in a Docker environment on arm devices (Raspberrypi 4/5).
The issue is not exactly related to asyncua, but rather cryptography because it gets compiled in rust.
The issue occurs on debian images. So here I provided a basic Dockerfile, which should work with all versions from cryptography.
Reasons:
you need to have rust toolchain installed and not only cargo
you need to have libssl-dev and libeffi-dev installed
when rust compiles cryptography it looks for the openssl libraries with pkg-config so you need it too
FROM debian:bookworm-slim
RUN apt update
RUN apt install curl python3.11 python3-pip libffi-dev libssl-dev pkg-config -y
RUN curl -L sh.rustup.rs | sh -s -- -y
RUN PATH="/root/.cargo/bin:${PATH}" pip install asyncua --break-system-packages
I encountered an issue with asyncua when installing in a Docker environment on arm devices (Raspberrypi 4/5).
The issue is not exactly related to asyncua, but rather
cryptography
because it gets compiled in rust.The issue occurs on debian images. So here I provided a basic Dockerfile, which should work with all versions from
cryptography
.Reasons:
libssl-dev
andlibeffi-dev
installedcryptography
it looks for the openssl libraries with pkg-config so you need it toorelated issues:
here is what it would like if you only install cargo:
rust-lang/rust#64248
The text was updated successfully, but these errors were encountered: