Skip to content
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

Rust compiling issue: error: linker x86_64-linux-musl-cc not found #1249

Open
Seelengrab opened this issue Nov 23, 2022 · 2 comments
Open

Rust compiling issue: error: linker x86_64-linux-musl-cc not found #1249

Seelengrab opened this issue Nov 23, 2022 · 2 comments

Comments

@Seelengrab
Copy link

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 #1248, so maybe that's related?

@Seelengrab
Copy link
Author

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.

@giordano
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants