rustup fails with fatal: libgcc_s.so.1: open failed: No such file or directory
on Sun 10
#3857
Closed
2 tasks done
Labels
Verification
Problem
rustup fails on Sun 10.
There are multiple problems that occur:
/bin/sh
that comes with Sun 10 does not support$(...)
syntax for subshells. This can be worked around by changing the shebang to/bin/bash
, but then there are still the problems below.uname
with-o
fail with/usr/bin/uname: illegal option -- o
.grep
with-q
fail withgrep: illegal option -- q
.Steps
#/bin/bash
(to avoid issue 1 above)chmod +x
on the script to give it executable permissionsPossible Solution(s)
No response
Notes
I am aware that Sun 10 is not one of the platforms supported by Rust (Rust's support for Sun/Solaris starts with Sun 11). However, I would expect the rustup script to work on Sun 10, in order to allow people to use the script to download a Rust compiler for using custom targets to build on the platform. (But maybe I am assuming too much - maybe there is no pre-built Sun 10
rustc
.)Rustup version
1.27.1
Installed toolchains
The output of
rustup show
isn't meaningful (there are a bunch of errors).OS version
Sun 10
The text was updated successfully, but these errors were encountered: