For anybody trying to build a static binary:
Thanks to Han Boetes for the post here, advising to use musl.
Thanks to Florian Dejonckheere for posting this script:
https://github.com/JBBgameich/rsync-static
Here is my small contrib on this, for the lazy folks.
I download the musl prebuild binaries
For anybody trying to build a static binary:
Glibc static binaries are not backwards compatible: to get really
static binaries you'd have to compile them with musl libc.
The easiest way for me was to set up a VM with alpine linux. Then I
configured and build rsync and at the end ran these comma