You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to install Go 1.7.5 on Alpine from the official binary tarball. However, file shows that this binary is dynamically linked to /lib64/ld-linux-x86-64.so.2 (glibc), which makes it difficult to run this binary on embedded Linux systems.
Perhaps Go could publish these binaries as statically linked?
Perhaps Go could publish musl-linked binaries in addition to glibc-linked binaries?
The text was updated successfully, but these errors were encountered:
To be honest, I think the right choice here is for people interested in Alpine to build their own binary distributions and make them available. We don't want to provide statically linked binaries by default, as the resulting go tool will not support go get in some configurations. We don't want to provide binaries for a wide range of different systems and configurations, because that is more work for us installing and maintaining the systems required to build them. And, frankly, we're going to make mistakes, and that is even more work. We provide binary downloads as a convenience for the largest sets of users. We can't provide binary downloads for all users.
This is a dup of #18773 [Official Go binary does not work in Alpine Linux (not statically linked)], where they're asking pretty much the same thing:
we thought it would be good to have a statically-linked binary available
You are also suggesting another alternative (publish musl-linked binaries), but I think it would be better to keep all the discussion related to this issue on #18773; so I'm closing this. Feel free to write about publishing musl-linked bins on that issue.
I'm trying to install Go 1.7.5 on Alpine from the official binary tarball. However,
file
shows that this binary is dynamically linked to/lib64/ld-linux-x86-64.so.2
(glibc), which makes it difficult to run this binary on embedded Linux systems.Perhaps Go could publish these binaries as statically linked?
Perhaps Go could publish musl-linked binaries in addition to glibc-linked binaries?
The text was updated successfully, but these errors were encountered: