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

SQLite support #216

Open
ZPascal opened this issue Aug 29, 2024 · 3 comments · May be fixed by #220
Open

SQLite support #216

ZPascal opened this issue Aug 29, 2024 · 3 comments · May be fixed by #220

Comments

@ZPascal
Copy link

ZPascal commented Aug 29, 2024

Hi @fritterhoff,

do you use SQLite support or do you also use a PostgreSQL DB? I have an active issue here right now (CGO build issues) and I have switched the SQLite driver to a native Go implementation. Is this also interesting for you? If so, I would make it available to you via PR. Greetings, Pascal

@fritterhoff
Copy link
Member

So we are using sqlite using CGO_ENABLED=1

@fritterhoff
Copy link
Member

See also:

RUN CGO_ENABLED=1 go build -ldflags="-extldflags=-static" -tags sqlite_omit_load_extension

@ZPascal
Copy link
Author

ZPascal commented Aug 30, 2024

Hi @fritterhoff, you are using the DNS server within the provided container. This explains the case because the binary files provided do not contain the linked C reference. The CGO parameter is not set and within a multi-arch architecture, this is not trivial with the C dependencies.

@ZPascal ZPascal linked a pull request Aug 31, 2024 that will close this issue
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 a pull request may close this issue.

2 participants