Error

"linker cc not found" — How to Fix on Linux

Fix the 'linker cc not found' error on Linux by installing the build-essential package to provide the missing C compiler and linker.

The error occurs because your system is missing a C compiler and linker required to build Rust binaries. Install the necessary build tools using your package manager to resolve the issue.

sudo apt-get install build-essential

For other distributions, install GCC or Clang according to your system's documentation.