Recent twts in reply to #nfaewca

Meh, after a server upgrade and reboot a bunch of my Python scripts don’t work anymore. I know of at least two.


(#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.

Login to participate in this yarn.