Installing Rust on Manjaro - Missing Linker Error
I decided to pick up learning Rust again and was setting up my dev environment on a Manjaro VM. As I was finishing a tutorial and when I hit compile I received the following error
__error: linker cc
not found
|
= note: No such file or directory (os error 2) error: aborting due to previous error__
Turns out Manjaro doesnt ship with the GCC compiler and you have to install it with the following
pacman -Sy gcc
Now your rust code will be able to compile properly.