Page 1 of 1

Linker error while using 'Rust'

Posted: Sun Nov 17, 2019 9:51 am
by NeverSimple
Using GhostBSD19.09 upgraded to 19.10.

I Installed Rust (programming language) to compile some code.
Cargo gives me 'linker 'cc' not found' while doing that.

'which cc' gives me nothing.
Not even sure if CLANG is installed. It is not available as a package, GCC is.

But this is a bit out of my comfort zone, so before creating a ginormous mess, Ill ask here what is the best way to solve this.

Re: Linker error while using 'Rust'

Posted: Mon Nov 18, 2019 1:58 pm
by ericbsd
devtools is not installed by default you have to installed it.

Code: Select all

sudo  pkg install os-generic-userland-devtools