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'm trying to cross compile a rust project, and it fails with this error:
$ RUST_BACKTRACE=1 cross build --target aarch64-unknown-linux-gnu
Compiling libc v0.2.158
error: failed to run custom build command for `libc v0.2.158`
Caused by:
process didn't exit successfully: `/target/debug/build/libc-253a6a580007d013/build-script-build` (exit status: 101)
--- stdout
cargo:rerun-if-changed=build.rs
--- stderr
thread 'main' panicked at /cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.158/build.rs:222:9:
failed to run rustc: rustc: error while loading shared libraries: libLLVM.so.18.1-rust-1.80.1-stable: cannot open shared object file: No such file or directory
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to cross compile a rust project, and it fails with this error:
Any suggestion on how to fix it?
Beta Was this translation helpful? Give feedback.
All reactions