Installation problem on Debian. cc linker

I have rust installed and is ready to rock

My file is hello_world.rs
This is what happens:

$ rustc hello_world.rs
error: could not exec the linker cc: No such file or directory (os error 2)

I have had issues all the way up to this one, and now am stumped.

Any ideas?

1 Like

Do you maybe need to install the build-essential package?

apt-get install build-essential

1 Like

Thanks guys,

Still had an issue trying to get build-essential in, but seems to work now.