I want to build runC on a Raspbian GNU/Linux 10 (buster), Linux 4.19.97-v7+.
I downloaded the go1.15.6 ARMv6 version, extracted it to /usr/local
and updated $PATH
& $GOPATH
.
go version
returns
go version go1.15.6 linux/arm
and echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games:/usr/local/go/bin
Following the instructions for building runC, running sudo make install
returns
make: go: command not found
install -D -m0755 runc /usr/local/sbin/runc
Why doesn't it find the go binary?
make has its own PATH. Consult make‘s documentation.