1

Getting an error during Build process with cargo build-bpf on Hello World program.

error: linker cc not found | = note: No such file or directory (os error 2)

1
  • seems you are not in the correct directory, you would need to add more information to help you. Commented Oct 8, 2022 at 1:58

1 Answer 1

1

If cc is not found, it may mean that your system needs build tools. Depending on your platform, you'll need to follow different instructions to install it.

For example, here's how to do it on Ubuntu:

sudo apt install build-essential

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.