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

Tweak cgo compilation to prevent linking errors #24

Merged
merged 8 commits into from
Aug 26, 2024
Merged

Conversation

facundoolano
Copy link
Owner

Tweaks ldflags to do static linking of glibc as per (based on this https://www.arp242.net/static-go.html).
An alternative worth considering is to just use a pure go sqlite driver and skip cgo altogether.

fixes #23

@facundoolano facundoolano merged commit c952a57 into main Aug 26, 2024
1 check passed
@facundoolano facundoolano deleted the fix_glibc branch August 26, 2024 21:43
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.

Unable to install it on Ubuntu 20
1 participant