-
Notifications
You must be signed in to change notification settings - Fork 249
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
Doesn't compile for platform x86_64-unknown-linux-musl
#186
Comments
hello! The issue here is actually that This is because there appears to be a problem with the musl-cross brew package that's failing to create the right symlink.
Two ways to fix this:
I'm going to close this issue since it's not actually an SDK problem, feel free to open a discussion if you need more assistance. |
|
This is brilliant! Works perfectly now! Thanks! |
This works great , but for me the binary was saved on another path. In my case the command was: sudo ln -s /opt/homebrew/Cellar/musl-cross/0.9.9_1/libexec/bin/x86_64-linux-musl-gcc /usr/local/bin/musl-gcc |
After upgrading my OS, this also worked for me, but I had to link an other path: ln -s ~/.rvm/gems/ruby-2.7.6@gemset/gems/libv8-node-16.10.0.0-x86_64-linux-musl/vendor/v8/x86_64-linux-musl ~/.rvm/gems/ruby-2.7.6@gemset/gems/libv8-node-16.10.0.0-x86_64-linux-musl/vendor/v8/x86_64-linux |
For MacOS Ventura (13.1) you need
|
Bug Report
The package doesn't seem to compile for platform
x86_64-unknown-linux-musl
due to dependencyring v0.16.20
. Is there anyway to mitigate this? Thinking to use theaws-sdk-s3
in lambda function, which needs to be compiled forx86_64-unknown-linux-musl
platformThanks for the help.
Version
Platform
MacOS cross compiling to
x86_64-unknown-linux-musl
(setup see https://github.com/awslabs/aws-lambda-rust-runtime)Darwin Kernel Version 19.6.0
AWS Services
S3, maybe other services as well
Description
The cargo dependency is:
When run
cargo build --release --target x86_64-unknown-linux-musl
, the compilation failed with below error:I think the compilation fails for
ring
crate, but is there anyway to mitigate this? Thanks for the help.The text was updated successfully, but these errors were encountered: