Open bap2pecs opened 10 months ago
try golang >= 1.20
thanks @AskAlexSharov but I am using >= 1.20 version
$ go version
go version go1.21.3 linux/amd64
go clean -modcache -chache
go build -v ./cmd/erigon
go env
# also just for test you can try
git checkout devel
go build ./cmd/erigon
Same issue on my side. Fresh Ubuntu+Go 1.21.4 installation, v2.57.3 -> same error message as OP.
go env
I've had the same issue on fresh Ubuntu, sudo apt-get install build-essential
resolves the issue.
System information
Erigon version: erigon version 2.52.5-7c5e4e77
OS & Version: Ubuntu
Commit hash: 7c5e4e770f122299c34a9309a37a33a146443da8
Erigon Command (with flags/config): make erigon
Consensus Layer:
Consensus Layer Command (with flags/config):
Chain/Network:
Expected behaviour
build erigon
Actual behaviour
Steps to reproduce the behaviour
The system requirement section says "GCC 10+ or Clang". I only installed Clang and it gave this error. Then I tried to install GNC and the build succeed. I think the "or" here is misleading.