Closed foxyseta closed 10 months ago
I forgot to mention: the executables can be found on my disk, and are executable. So maybe it's because I am on a musl distribution?
Indeed, we only have releases for glibc: https://lean-lang.org/lean4/doc/setup.html#supported-platforms
Oh wow. I even went through that doc page twice before and failed to notice that. My apologies! I believe elan should raise an error then?
OT: is there any issue tracking musl support? Is that planned?
Yes, this would have to be detected in https://github.com/leanprover/elan/blob/master/elan-init.sh.
I don't think musl support was requested before and it would not be high priority but opening an issue at leanprover/lean4 doesn't hurt.
Yes, this would have to be detected in https://github.com/leanprover/elan/blob/master/elan-init.sh.
Shall I open a PR? One could look for GLIBC
in the first line of the output of ldd --version
to check this. Should this happen as soon as we realize we are on a Linux system?
I don't think musl support was requested before and it would not be high priority but opening an issue at leanprover/lean4 doesn't hurt.
Yes, PRs welcome. But could you first check what upstream rustup does and copy that if applicable?
Opened relevant PR. As requested, It is based on the upstream rustup code.
I am unable to install any Lean toolchain on Alpine Linux.