Linker error while using 'Rust'

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

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
Posts: 1747
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 62 times
Been thanked: 122 times

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
These users thanked the author ericbsd for the post:
NeverSimple (Mon Nov 18, 2019 2:22 pm)
Rating: 33.33%

Post Reply