-
Notifications
You must be signed in to change notification settings - Fork 708
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to link lib ring when trying to build binary files in aarch64-unknown-* #2141
Comments
I have a similar error. When I searched the web for it, some entries suggest it is due to having some object files compiled for the wrong architecture (x86 vs aarch64), although I am not 100% convinced. Example: ninja-build/ninja#2112 (comment) |
I also have issues reported against ring, but for armv7, aarch64 seems to work fine for me 🤷 |
If you are cross-compiling you need to tell it where to find a C compiler that can cross-compile. See https://docs.rs/cc/latest/cc/#external-configuration-via-environment-variables for the env vars you can use to configure this. |
I have tried setting
|
I'm trying to build bins file of kuksa-databroker:
I configured and build lib ring successfully but I got these errors when creating binary files, the last steps:
I did successfully in x86_64 arch but I failed when I configured in aarch64-unknown-* arch.
The text was updated successfully, but these errors were encountered: