I created my static rsync on a redhat (centos) 6.x machine. Text Box- yum install -y glibc-static
- wget ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/monkeyiq:/centos6updates/CentOS_CentOS-6/noarch/autoconf-2.69-12.2.noarch.rpm
- rpm -U autoconf-2.69-12.2.noarch.rpm
- cd ~
- mkdir workspace
- cd workspace
- wget https://download.samba.org/pub/rsync/src/rsync-3.1.2.tar.gz
- tar -zxf rsync-3.1.2.tar.gz
- cd rsync 3.1.2
- ln -s ./popt/popt.h ./popt.h
- ./configure –with-included-popt –with-included-zlib
- make LIBS=”-Wl,-static -lattr -lacl -Wl,-Bdynamic”
- strip ./rsync-static
|