-
Notifications
You must be signed in to change notification settings - Fork 159
readme: mention Alpine package #427
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
Conversation
BTW: the Lines 82 to 86 in 00a4361
This is not correct, and most packages (including zk itself) are dynamically linked.
|
Our regular builds link to |
Any comments on why you closed this? Did I do something wrong? Are my contributions unwelcome? |
The builds for Alpine do not need to have the libc statically linked, they merely need to link to musl instead of glibc. As a clear example of this,
These are built using I'm not sure where you heard this, but AFAIK, Alpine has no policy to statically link binaries. All the packages I've checked are dynamically linked. |
The comment was above the closed event:
The solution to statically link was brought up by another Alpine user: #411 I'm personally not so experienced with the intricacies of cross compilation / system architectures. In that pr above, I did have a dynamically linked binary, but it was deemed better to statically link. From memory something to do with cross compiling with Docker and the go-sqlite3 go package, which requires CGO. If there is an argument to not do this and there is an argument why this shouldn't be done, I'm happy to hear. Because as far as I'm aware, it works fine and offering the binaries from the release section of GitHub is simply another option for The aports image will of course not need static linking because it's built directly on a Your PR's / comments are welcome. It may be that you've just missinterpreted the comment in the Makefile and made a PR before checking the context. I'm not saying (because I wrote that comment in the Makefile), that Alpine requires statically linked binaries in general, but that for our specific case (because of above) we need to statically link the c libs. |
My first comment was only vaguely related to the PR; the PR itself only adds the Alpine package to the list of downstream packages. |
I understand the confusion now; I guess I shouldn't mention another topic if the PR itself doesn't have a description 😅 |
Oh wow... Yeah, that was really confusing! I thought the code comment was the crux of the PR.. It was totally fine that you made a side mention about the Makefile. It was my fault for not seeing it as a separate context 👍 Thanks for the PRs 🫠 |
No problem. It takes two to mis-communicate anyway :) |
No description provided.