-
Notifications
You must be signed in to change notification settings - Fork 921
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
Can't install rustup (Void Linux-musl) #1247
Comments
Update: I managed to build it (maybe I confused that part with building rust?) but now the executables in ~/.cargo/bin/ don't work. |
The script also doesn't work for me (alpine linux, also musl) with the same error. Turns out that the rustup-init binary is linked to glibc, so it will fail:
Providing a rustup-init that is linked against musl, and detecting that in the script would be awesome! |
Hey, I have the same issue. Would love a musl linked rustup-init! Is there something that can be done on our part? Cheers! |
I just encountered the same issue trying to install Rust in a CI environment. The image I'm working with is built on alpine linux which doesn't use glibc, hence the cryptic "not found" error message when the OS tries to load |
For what it's worth, Void appears to feature a "rustup" package in its repository: https://www.voidlinux.eu/packages/ Could we backport this into rustup's official downloads? |
There is indeed a rustup package for Void Linux, however when you are using the musl version of Void it is as good as useless as you cannot install a toolchain. Unless I'm missing something -- I'm new to Void and Rust. I ended up uninstalling rustup and fell back to the void packaged rust and cargo. |
I'm grateful for Void offering rust and cargo for musl in the main xbps repository, however for my purposes I actually need rust nightly, so that I can continue using clippy to analyze my code. |
I have the same issue, using alpine here.
|
same issue for me. Is there any update on this? |
Dup of #1053. |
We've added musl as a build target for rustup in June. |
Hello,
I'm not sure if I'm just dumb or if it's an issue, apologies if it's the former.
I'm trying to install rustup on void linux (musl based). During the curl / sh thing on the website it just complains about not finding rustup-init (somewhere in /tmp/random_letters_here/rustup-init directory).
So then I tried compiling from source but it always fails because of a missing dependency (openSSL).
I tried cargo update and cargo clean with no luck. Maybe it doesn't compile because void linux uses LibreSSL. I don't know.
Anyways I'd really appreciate it if someone would help me with this.
The text was updated successfully, but these errors were encountered: