Failure to build static musl package with aws-lc-sys dependencies #840
Replies: 4 comments 1 reply
-
This dependency is required by default for rustls, though it can be disabled and replaced by the |
Beta Was this translation helpful? Give feedback.
-
I don't know enough about Seems like the build is failing due to |
Beta Was this translation helpful? Give feedback.
-
According to https://crates.io/crates/aws-lc-sys it does support musl, and passing AWS_LC_SYS_STATIC=1 to the environment doesn't seem to work either as described in https://github.com/aws/aws-lc-rs/blob/main/book/src/resources.md . |
Beta Was this translation helpful? Give feedback.
-
After adding gcc to nativeBuildInputs, it compiled successfully |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
Building a static command with aws-lc-sys fails with the following error:
cannot find -lc: No such file or directory
Reproduction
In the examples/cross-musl/Cargo.toml, add:
Then run the following commands:
Beta Was this translation helpful? Give feedback.
All reactions