dock-substrate
dock-substrate copied to clipboard
Runing this commd `cargo build --release`
when running this command cargo build --release
give the following error
error: linker `cc` not found
|
= note: No such file or directory (os error 2)
error: aborting due to previous error
error: could not compile `libc`.
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: linker `cc` not found
|
= note: No such file or directory (os error 2)
error: aborting due to previous error
if we are using a new server then you have to use the following command before cargo build --release
it resolves error
sudo apt install build-essential
sudo apt install make clang pkg-config libssl-dev
A PR with instructions in Readme is much appreciated. You can link to specific sections of this doc as well.