BinaryBuilder.jl
BinaryBuilder.jl copied to clipboard
Rust compiling issue: error: linker `x86_64-linux-musl-cc` not found
I get this error when trying to compile a Rust project with a recipe locally & in CI:
[13:45:12] error: linker `x86_64-linux-musl-cc` not found
[13:45:12] |
[13:45:12] = note: No such file or directory (os error 2)
build_tarballs.jl
for that can be found here. @jakobnissen mentioned that he ran into that as well while investigating https://github.com/JuliaPackaging/BinaryBuilder.jl/issues/1248, so maybe that's related?
Seems like it was due to me forgetting to use compilers=[:c]
, adding that makes it at least start compilation in CI. Probably just needs docs then.
Seems like it was due to me forgetting to use
compilers=[:c]
, adding that makes it at least start compilation in CI. Probably just needs docs then.
You basically always need the linker, which is part of the C compilers shard.