-
Notifications
You must be signed in to change notification settings - Fork 455
-
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
Any suggestion on how to fix it?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment