socat-static The hard work has been done by someone else https://github.com/andrew-d/static-binaries. Thanks for that!