Closed comunidadio closed 1 year ago
GOOS=linux GOARCH=arm64 go build # github.com/marcboeker/go-duckdb ../../../../../pkg/mod/github.com/marcboeker/go-duckdb@v1.2.1/transaction.go:6:5: undefined: conn
or even just just changing GOARCH and leaving GOOS as-is (system is MacOS on arm64) :
GOARCH=amd64 go build # github.com/marcboeker/go-duckdb ../../../../../pkg/mod/github.com/marcboeker/go-duckdb@v1.2.1/transaction.go:6:5: undefined: conn
Nevermind, just missed to add CGO_ENABLED=1. Oops.
or even just just changing GOARCH and leaving GOOS as-is (system is MacOS on arm64) :