Go Heroku Tutorial: No such file or directory: runtime.h -


i'm working on golang heroku tutorial right now, , i'm @ step: https://devcenter.heroku.com/articles/getting-started-with-go#prepare-the-app

when execute following:

go github.com/heroku/go-getting-started/cmd/... 

i error:

# runtime/cgo /tmp/go-build867338420/runtime/cgo/_obj/_cgo_defun.c:4 6c: no such file or directory: runtime.h 

here go environment:

      goarch="amd64"     gobin=""     gochar="6"     goexe=""     gohostarch="amd64"     gohostos="linux"     goos="linux"     gopath="/home/crystal/go/"     gorace=""     goroot="/usr/lib/go"     gotooldir="/usr/lib/go/pkg/tool/linux_amd64"     term="dumb"     cc="gcc"     gogccflags="-g -o2 -fpic -m64 -pthread"     cxx="g++"     cgo_enabled="1"  

what potentially issue here?


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -