(#nfaewca) @prologic@twtxt.net Yeah, but it only works for truly statically linked executables. Two weeks ago I had the problem that I build a simple service with the regular go build -o myservice and copied it to my server. It didn’t start though, the libc versions didn’t line up. So then I had to search around and use go build -o myservice -tags netgo -ldflags '-extldflags "-static"'. (Generally even more flags are required.) And the best part is that the exact command line differs with each Go version. I hope they finally provide a simple -static flag.


#izktcxa