-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. #855
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
Comments
gives same error so it is not related to the goreleaser itself |
I don't think the statement in the README is true. (Or at least, isn't true anymore.)
In this example, when you run |
I'm facing the same issue. |
same issues here |
I fixed it with adding |
I ran into this using |
@aviddiviner Thanks man my tests were not building I was using sqlite database for go application, getting this error -
I was using it as a part of jenkins build process, and my jenkins server was running on EC2 ubuntu machine, with build-essential this worked fine. |
If you are using M1 Mac and have specified the environment variable GOARCH=amd64, you will need to change it as follows. (This is my minor past solution...)
|
same issues here |
Has anyone managed to solve this in a windows environment? |
|
I had this issue in Windows and did the following to fix it: tl;dr:
Longer explanation:
|
it works, thx |
@margani works! Thanks Note that the installer tells you to get the new ver from (which also works): |
Is there a workaround for docker on Mac M1 with amd64? |
Heroes of the day!!! 🎉 @margani @Kaloszer @ayoubzulfiqar @jmeubank |
Seems that line was added to the readme in #250, back in 2015. Not much extra context there, but quickly searching online I agree with your conclusion, that:
|
go-sqlite3 - tag v1.14.3
I'm building app in the goreleaser in docker environment. I read on README:
I'm running:
goreleaser.yml:
and the error is:
The text was updated successfully, but these errors were encountered: