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
{{ message }}
This repository has been archived by the owner on Feb 7, 2022. It is now read-only.
if your program doesn't use cgo (either directly or indirectly, exclude those in the standard library), you can
try build it with the binary distributions which is compiled with an old enough glibc.
you can disable cgo, and rebuild go (set CGO_ENABLED=0, then run src/make.bash)
alternatively to 3, if the only reason cgo is used is the net package, you can try build the net package with the
"netgo" build tag. go build -a -v -tags netgo std; and then rebuild your program.
use a chroot with an environment that matches the production server, and build Go and your program in that chroot.
You pretty much have your issue and solution there. The glibc on the machine you are trying to run the binary is too old and incompatible with the one used by xgo. You'll either need a custom docker image with an old glibc or a newer machine to run on.
I don't really see any motivation within the xgo project for fixing this issue and supporting deprecated glibc versions.
The text was updated successfully, but these errors were encountered: