Skip to content

Replace mattn/go-sqlite3 with modernc.org/sqlite for CGO-free builds - #15

Merged
peterjaap merged 1 commit into
mainfrom
fix-1-cgo
Mar 14, 2026
Merged

peterjaap merged 1 commit into
mainfrom
fix-1-cgo

Conversation

@peterjaap

Copy link
Copy Markdown
Collaborator

The release binaries are compiled with CGO_ENABLED=0, but mattn/go-sqlite3 requires CGO. Switch to modernc.org/sqlite which is a pure Go SQLite implementation that works without CGO.

Fixes #1

The release binaries are compiled with CGO_ENABLED=0, but mattn/go-sqlite3
requires CGO. Switch to modernc.org/sqlite which is a pure Go SQLite
implementation that works without CGO.
@peterjaap
peterjaap merged commit 8037256 into main Mar 14, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Team Server fails with CGO/SQLite error

1 participant