you have to put libresolv.so.2 that came with rsync somwhere like /lib.