News for hackers. Stuff that matters.
Re:C library system-call wrappers, or the lack thereof by swiley on Wednesday November 14, 2018 @06:30AM (#18449108)
This used to be true, Unfortunately it’s not now.

I found this out when trying to copy a go program I had compiled on alpine to an Ubuntu machine and got the “file not found” error from the linker. :(

Try it yourself: run ldd on a recent go binary.

Re:C library system-call wrappers, or the lack thereof by zaarn on Wednesday November 14, 2018 @07:41AM (#18449396)
Go uses the glibc for DNS resolution by default, if you set CGO_ENABLED=0 during compiling it should result in a static binary.