go-gorm / sqlite

GORM sqlite driver
MIT License
179 stars 184 forks source link

Upgrade to mattn/go-sqlite3 v1.14.19 #177

Closed voltagex closed 5 months ago

voltagex commented 10 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"

Racle commented 8 months ago

Also manually changing go-sqlite3 in your go.mod file to correct versions seems to fix this

github.com/mattn/go-sqlite3 v1.14.19 // indirect