Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows binaries missing cgo #46

Closed
bennettscience opened this issue Mar 22, 2024 · 3 comments
Closed

Windows binaries missing cgo #46

bennettscience opened this issue Mar 22, 2024 · 3 comments

Comments

@bennettscience
Copy link

bennettscience commented Mar 22, 2024

The pre-compiled Windows builds did not include the CGO_ENABLED flag and cannot open SQLite files.

Snag_2abb6162

@cameronj86
Copy link

Experiencing the same issue on Debian (Bookworm)

image

@ityc
Copy link

ityc commented Jun 17, 2024

Experiencing the same issue on Debian (buster)
image

@FrauElster
Copy link

Goal could be to get rid of CGO entirely.

Following this Reddit post we can list all deps that use CGO, which boils down to

github.com/mattn/go-sqlite3
golang.design/x/clipboard.

We could swap the sqlite driver to a pure go one.

I dont know about clipboard though. They have some open issues about that:

One could try to swap the driver and build with CGO_ENABLED=0

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

No branches or pull requests

5 participants