Tried to build on macOS with GOOS=linux GOARCH=arm64 ./build.sh --static.
Got 2024-08-31T14:33:06.027Z [debug] systemd: STATUS="failed to open db: sql: unknown driver "sqlite3" (forgotten import?)"
I even tried to build such way:
GOOS=linux GOARCH=arm64 CC=aarch64-linux-musl-cc go build -v github.com/mattn/go-sqlite3GOOS=linux GOARCH=arm64 CC=aarch64-linux-musl-cc ./build.sh --static
No success.
Steps to reproduce
Build with GOOS=linux GOARCH=arm64 ./build.sh --static
Describe the bug
Tried to build on macOS with
GOOS=linux GOARCH=arm64 ./build.sh --static
.Got
2024-08-31T14:33:06.027Z [debug] systemd: STATUS="failed to open db: sql: unknown driver "sqlite3" (forgotten import?)"
I even tried to build such way:
GOOS=linux GOARCH=arm64 CC=aarch64-linux-musl-cc go build -v github.com/mattn/go-sqlite3
GOOS=linux GOARCH=arm64 CC=aarch64-linux-musl-cc ./build.sh --static
No success.Steps to reproduce
GOOS=linux GOARCH=arm64 ./build.sh --static
Log files
failed to open db: sql: unknown driver "sqlite3" (forgotten import?)
Configuration file
/etc/maddy/maddy.conf
Environment information