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

Runing this commd cargo build --release #81

Open
sagarjethi opened this issue Sep 13, 2020 · 2 comments
Open

Runing this commd cargo build --release #81

sagarjethi opened this issue Sep 13, 2020 · 2 comments

Comments

@sagarjethi
Copy link

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

@sagarjethi
Copy link
Author

sagarjethi commented Sep 13, 2020

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

@lovesh
Copy link
Member

lovesh commented Sep 14, 2020

A PR with instructions in Readme is much appreciated. You can link to specific sections of this doc as well.

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

2 participants