rust-synapse-compress-state
rust-synapse-compress-state copied to clipboard
Rust build fails with 'error: linker `cc` not found
I cant copy the text so here's a screenshot of the VM:
Expected behavior: build without errors
Steps to reproduce:
- install vm debian 12.4
- install rust (https://www.rust-lang.org/tools/install)
- install git
- run git clone of this repo
- move into repo folder
- run 'cargo build' or 'cargo build --release'
- see error.
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
Try installing GCC, I think it's in the
build-essentialAPT 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.
@Haui1112 Based on your previous comment I take it that you were able to resolve the problem? If so I will close this issue.