Cross compiled binary for aarch64 architecture not running

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • cross

    “Zero setup” cross compilation and “cross testing” of Rust crates

  • I too had this problem, I wanted to cross-compile to armv7 (raspberry pi raspbian) and had this exact error, the solution is to either get the target machine to a newer GLIBC version, or the host machine to an older GLIBC version, and by that I man get another distro, because you can't easily update it. I solved the problem by changing the raspberry pi distro to ubuntu server 22 (I also used [cross](https://github.com/cross-rs/cross) for easier compilation).

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts