kaspanet / kaspad

Kaspad was the reference full node Kaspa implementation written in Go (golang), now rewritten in Rust: https://github.com/kaspanet/rusty-kaspa
ISC License
458 stars 231 forks source link

Error installing solo for Ubuntu #2177

Open gx5190 opened 1 year ago

gx5190 commented 1 year ago

Hello, I encountered this error when installing Kaspad

github.com/kaspanet/go-muhash

cgo: C compiler "gcc" not found: exec: "gcc": executable file not found in $PATH

github.com/kaspanet/go-secp256k1

cgo: C compiler "gcc" not found: exec: "gcc": executable file not found in $PATH

No solution is found. The system is also Ubuntu 20.04.1-x64 Can you help me see how to solve it

someone235 commented 1 year ago

You should install gcc with sudo apt install build-essential

arkadd61 commented 11 months ago

@someone235, I wanted to report back that install that build-essential resolved the "gcc" error I was getting and now the node is running successfully. Thank a ton!