rsync.exe: error while loading shared libraries: cyglz4-1.dll

Ulli Horlacher
Sun Sep 6 20:43:57 GMT 2020

I have installed cygwin with cygwin-portable-installer (recommendation
from this mailing-list). Everything seems fine, but when I run rsync I get:

W10dev:~: rsync -h
C:/Users/admin/cygwin/bin/rsync.exe: error while loading shared libraries: cyglz4-1.dll: cannot open shared object file: No such file or directory

W10dev:~: uname -a
CYGWIN_NT-10.0 W10dev 3.1.7(0.340/5/3) 2020-08-22 17:48 x86_64 Cygwin

On another Windows with cygwin, rsync runs without errors, but on both
machines I cannot find a cyglz4-1.dll


W10dev:~: type -a rsync
rsync is /usr/bin/rsync

W10dev:~: ldd /usr/bin/rsync
        ntdll.dll => /cygdrive/c/Windows/SYSTEM32/ntdll.dll (0x7ffe42100000)
        KERNEL32.DLL => /cygdrive/c/Windows/System32/KERNEL32.DLL (0x7ffe414a0000)
        KERNELBASE.dll => /cygdrive/c/Windows/System32/KERNELBASE.dll (0x7ffe3f500000)
        cygcrypto-1.1.dll => /usr/bin/cygcrypto-1.1.dll (0x3ff9c0000)
        cygwin1.dll => /usr/bin/cygwin1.dll (0x180040000)
        cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x3fef50000)
        cygzstd-1.dll => /usr/bin/cygzstd-1.dll (0x3fd9e0000)

What is going wrong?
Where is my mistake?

Ullrich Horlacher              Server und Virtualisierung
Rechenzentrum TIK         
Universitaet Stuttgart         E-Mail:
Allmandring 30a                Tel:    ++49-711-68565868
70569 Stuttgart (Germany)      WWW:

More information about the Cygwin mailing list