Closed voltagex closed 5 months ago
Please bump this dependency version
https://github.com/go-gorm/sqlite/blob/e64f7a58167c1bb6a60bf4ad6422e6d1b6111769/go.mod#L6
This fixes https://github.com/mattn/go-sqlite3/issues/1164 - can't build on Alpine 3.19 (?)
For anyone else hitting this, a temporary workaround is to set CGO_CFLAGS="-D_LARGEFILE64_SOURCE"
CGO_CFLAGS="-D_LARGEFILE64_SOURCE"
Also manually changing go-sqlite3 in your go.mod file to correct versions seems to fix this
go.mod
github.com/mattn/go-sqlite3 v1.14.19 // indirect
Please bump this dependency version
https://github.com/go-gorm/sqlite/blob/e64f7a58167c1bb6a60bf4ad6422e6d1b6111769/go.mod#L6
This fixes https://github.com/mattn/go-sqlite3/issues/1164 - can't build on Alpine 3.19 (?)
For anyone else hitting this, a temporary workaround is to set
CGO_CFLAGS="-D_LARGEFILE64_SOURCE"