undefined: debug.ReadBuildInfo
Closed this issue · 1 comments
Foxi352 commented
I have a running Nextcloud instance in a Proxmox LXC container. Golang and Git is installed.
OS: Debian Buster
go version go1.11.6 linux/amd64
root@nextcloud:~# go get github.com/xperimental/nextcloud-exporter
# github.com/prometheus/client_golang/prometheus
go/src/github.com/prometheus/client_golang/prometheus/go_collector.go:353:15: undefined: debug.ReadBuildInfo
Am i doing something wrong ?
Foxi352 commented
I'm closing this issue. It seems like the culprit was the GO version included in Buster which was too old.
For reference if someone with the same problem finds this issue: It worked after i manually upgraded GO to go1.16.6