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 build fails with 'error: linker cc not found #139

Closed
Haui1112 opened this issue Apr 9, 2024 · 3 comments
Closed

Rust build fails with 'error: linker cc not found #139

Haui1112 opened this issue Apr 9, 2024 · 3 comments

Comments

@Haui1112
Copy link

Haui1112 commented Apr 9, 2024

I cant copy the text so here's a screenshot of the VM:

Bildschirmfoto vom 2024-04-09 16-48-12

Expected behavior:
build without errors

Steps to reproduce:

  1. install vm debian 12.4
  2. install rust (https://www.rust-lang.org/tools/install)
  3. install git
  4. run git clone of this repo
  5. move into repo folder
  6. run 'cargo build' or 'cargo build --release'
  7. see error.
@reivilibre
Copy link
Contributor

reivilibre commented Apr 9, 2024

Try installing GCC, I think it's in the build-essential APT package but if that doesn't work look around for other ones that sound right

@Haui1112
Copy link
Author

Try installing GCC, I think it's in the build-essential APT package but if that doesn't work look around for other ones that sound right

Thanks for answering. I tried build essentials but that alone didnt do it. What changed it was pkg-config although I did install openssl before.

@devonh
Copy link

devonh commented Jun 21, 2024

@Haui1112 Based on your previous comment I take it that you were able to resolve the problem?
If so I will close this issue.

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

No branches or pull requests

3 participants