You (practically) cannot cross-compile with cgo. Use github.com/karalabe/xgo if
you have Docker.
--
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+unsu
I have test that use GOOS=linux GOARCH=amd64 can be compiled successful in
MacOS.
But I encounter problem when interfere with the github.com/mattn/go-sqlite3
which need cgo, so I enable the CGO_ENABLED=1
This is where is the error happen, the error message as bellow, how can I
fix it, thanks.