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
The official rust docker image only comes with version 2.31 of glibc. Thus I propose to built the official release of the cross binary with a lower version of glibc.
What target(s) are you cross-compiling for?
No response
Which operating system is the host (e.g computer cross is on) running?
macOS
Windows
Linux / BSD
other OS (specify in description)
What architecture is the host?
x86_64 / AMD64
arm32
arm64 (including Mac M1)
What container engine is cross using?
docker
podman
other container engine (specify in description)
cross version
cross 0.2.5
Example
$ docker run --rm -it rust:1.71.0
# cd /tmp
# curl -L -O https://github.com/cross-rs/cross/releases/download/v0.2.5/cross-x86_64-unknown-linux-gnu.tar.gz
# tar xf cross-x86_64-unknown-linux-gnu.tar.gz
# ./cross --version
./cross: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./cross)
./cross: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./cross)
./cross: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./cross)
Additional information / notes
This also occurs when using cargo-binstall to install cross in the image.
The text was updated successfully, but these errors were encountered:
Checklist
Describe your issue
cross-x86_64-unknown-linux-gnu.tar.gz
from https://github.com/cross-rs/cross/releases/tag/v0.2.5 requires version 2.34 of glibc to run.The official rust docker image only comes with version 2.31 of glibc. Thus I propose to built the official release of the cross binary with a lower version of glibc.
What target(s) are you cross-compiling for?
No response
Which operating system is the host (e.g computer cross is on) running?
What architecture is the host?
What container engine is cross using?
cross version
cross 0.2.5
Example
Additional information / notes
This also occurs when using
cargo-binstall
to installcross
in the image.The text was updated successfully, but these errors were encountered: