Linker error while using 'Rust'

Need support for GhostBSD. Ask here if your question does not fit elsewhere.
Post Reply
NeverSimple
Posts: 40
Joined: Sun Aug 20, 2017 10:08 am

Linker error while using 'Rust'

Post 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.
User avatar
ericbsd
Developer
Posts: 2052
Joined: Mon Nov 19, 2012 7:54 pm

Re: Linker error while using 'Rust'

Post by ericbsd »

devtools is not installed by default you have to installed it.

Code: Select all

sudo  pkg install os-generic-userland-devtools
Post Reply