To reply to myself, I just found this comment under ADDENDUM: "Cgo has issues when cross compiling. If you depend on cgo then you’re probably going to be better off building on the native platforms. The go tool will disable cgo support by default. To explicitly enable cgo, set CGO_ENABLED=1."
@ https://spf13.com/post/cross-compiling-go/ Does this mean cross-compiling with Go when cgo is required is hopeless? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/e61381f8-563f-4474-b8ca-7d0ace40784c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.