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

"Getting started" and "Install Rust" don't mention that Linux users need a linker #1652

Closed
skierpage opened this issue Mar 11, 2022 · 1 comment
Labels
A-Content The written content on the website. C-Bug Something isn't working.

Comments

@skierpage
Copy link

What needs to be fixed?

I returned to building rust programs on Fedora 35, ran rustup update, and re-read Getting started. I ran straight into error: linker cc not found. If you Google this seems to be an extremely common problem, you need to install gcc, or build-essentials, or whatever (I must have uninstalled the linker in the interim.) But there is no mention of this in the official docs.

Page(s) Affected

https://www.rust-lang.org/learn/get-started
https://www.rust-lang.org/tools/install

Suggested Improvement

Something like:

rustup installs the Rust compiler and several other tools, but on Linux you will need to install a linker program.

On Fedora, I think the minimal install is sudo dnf install gcc.

@skierpage skierpage added A-Content The written content on the website. C-Bug Something isn't working. labels Mar 11, 2022
@senekor
Copy link
Contributor

senekor commented May 23, 2024

duplicate of #1379

@senekor senekor closed this as not planned Won't fix, can't repro, duplicate, stale May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Content The written content on the website. C-Bug Something isn't working.
Projects
None yet
Development

No branches or pull requests

3 participants
@skierpage @senekor and others