* rsync.exe: error while loading shared libraries: cyglz4-1.dll @ 2020-09-06 20:43 Ulli Horlacher 2020-09-06 21:11 ` René Berber 0 siblings, 1 reply; 7+ messages in thread From: Ulli Horlacher @ 2020-09-06 20:43 UTC (permalink / raw) To: cygwin 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 Also: 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: horlacher@tik.uni-stuttgart.de Allmandring 30a Tel: ++49-711-68565868 70569 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/ REF:<20200906204357.GA19595@tik.uni-stuttgart.de> ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: rsync.exe: error while loading shared libraries: cyglz4-1.dll 2020-09-06 20:43 rsync.exe: error while loading shared libraries: cyglz4-1.dll Ulli Horlacher @ 2020-09-06 21:11 ` René Berber 2020-09-06 21:51 ` Ulli Horlacher 0 siblings, 1 reply; 7+ messages in thread From: René Berber @ 2020-09-06 21:11 UTC (permalink / raw) To: cygwin On 9/6/2020 3:43 PM, Ulli Horlacher wrote: > > > 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 [snip] > 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? Its the new version of rsync, which is recent... and probably is missing dependencies on setup. My ldd output is different than yours, I do get the library you are missing: $ ldd /usr/bin/rsync ntdll.dll => /cygdrive/c/Windows/SYSTEM32/ntdll.dll (0x7ffc31860000) KERNEL32.DLL => /cygdrive/c/Windows/System32/KERNEL32.DLL (0x7ffc31540000) KERNELBASE.dll => /cygdrive/c/Windows/System32/KERNELBASE.dll (0x7ffc2ee80000) cygwin1.dll => /usr/bin/cygwin1.dll (0x180040000) cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x3fe8b0000) cygcrypto-1.1.dll => /usr/bin/cygcrypto-1.1.dll (0x3ff6f0000) cygzstd-1.dll => /usr/bin/cygzstd-1.dll (0x3f9bf0000) cygz.dll => /usr/bin/cygz.dll (0x3f9cf0000) cyglz4-1.dll => /usr/bin/cyglz4-1.dll (0x3fc550000) Notice that there are more than one differences; they appear to be part of libz (or maybe libzstd). Probable work around: install the missing library. Another work around: install the previous version of rsync, which has very different library dependencies (i.e. no libcrypto, no libz dependency). Hope this helps. -- R.Berber ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: rsync.exe: error while loading shared libraries: cyglz4-1.dll 2020-09-06 21:11 ` René Berber @ 2020-09-06 21:51 ` Ulli Horlacher 2020-09-06 22:23 ` Brian Inglis 2020-09-07 13:57 ` Jon Turney 0 siblings, 2 replies; 7+ messages in thread From: Ulli Horlacher @ 2020-09-06 21:51 UTC (permalink / raw) To: cygwin On Sun 2020-09-06 (16:11), René Berber via Cygwin wrote: > > 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 > Its the new version of rsync, which is recent... and probably is missing > dependencies on setup. The error above appears on a freshly installed cygwin, on an older Windows (VM) there is no such error. On the new cygwin installation: W10dev:~: ls -l /usr/bin/rsync -rwxr-xr-x 1 admin None 2673952 Sep 6 10:27 /usr/bin/rsync On the old (last year?) cygwin installation: W10dev:~/WHOME: ls -l /usr/bin/rsync -rwxr-xr-x 1 admin None 1842817 Jan 29 2016 /usr/bin/rsync ==> different rsync versions! > My ldd output is different than yours, I do get the library you are missing: > > $ ldd /usr/bin/rsync > ntdll.dll => /cygdrive/c/Windows/SYSTEM32/ntdll.dll > (0x7ffc31860000) > KERNEL32.DLL => /cygdrive/c/Windows/System32/KERNEL32.DLL > (0x7ffc31540000) > KERNELBASE.dll => /cygdrive/c/Windows/System32/KERNELBASE.dll > (0x7ffc2ee80000) > cygwin1.dll => /usr/bin/cygwin1.dll (0x180040000) > cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x3fe8b0000) > cygcrypto-1.1.dll => /usr/bin/cygcrypto-1.1.dll (0x3ff6f0000) > cygzstd-1.dll => /usr/bin/cygzstd-1.dll (0x3f9bf0000) > cygz.dll => /usr/bin/cygz.dll (0x3f9cf0000) > cyglz4-1.dll => /usr/bin/cyglz4-1.dll (0x3fc550000) Strange... why doesn't my ldd list these additional libs? Perhaps because they are not found?! On UNIX ldd shows a "not found" error in such a case. > Notice that there are more than one differences; they appear to be part > of libz (or maybe libzstd). > > Probable work around: install the missing library. W10dev:~: apt-cyg find lz4 (...) Searching for installable packages matching lz4: liblz4-devel liblz4_1 lz4 lz4-debuginfo mingw64-i686-lz4 mingw64-x86_64-lz4 Is it liblz4_1 ? (yes - see below!) > Another work around: install the previous version of rsync, which has > very different library dependencies (i.e. no libcrypto, no libz dependency). W10dev:/usr/local/bin: cp -av /cygdrive/z/tmp/rsync.exe . '/cygdrive/z/tmp/rsync.exe' -> './rsync.exe' W10dev:/usr/local/bin: type -a rsync rsync is /usr/local/bin/rsync rsync is /usr/bin/rsync W10dev:/usr/local/bin: /usr/local/bin/rsync --version rsync version 3.1.2 protocol version 31 Copyright (C) 1996-2015 by Andrew Tridgell, Wayne Davison, and others. Web site: http://rsync.samba.org/ Capabilities: 64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints, socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace, append, ACLs, no xattrs, iconv, symtimes, prealloc rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the GNU General Public Licence for details. W10dev:/usr/local/bin: /usr/bin/rsync --version 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:/usr/local/bin: Tatatataaaaaaaaa! :-) AND: W10dev:~: apt-cyg install liblz4_1 (...) Package liblz4_1 installed W10dev:~: find /usr | grep lz4 /usr/bin/cyglz4-1.dll W10dev:~: /usr/bin/rsync --version rsync version 3.2.4dev protocol version 31 And now ldd shows: 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) cyglz4-1.dll => /usr/bin/cyglz4-1.dll (0x550db0000) cygzstd-1.dll => /usr/bin/cygzstd-1.dll (0x3fd9e0000) cygz.dll => /usr/bin/cygz.dll (0x3fdaa0000) Ok, this means: in the current cygwin distribution the rsync package is broken?! Where can I report this bug? Shall I at least? -- Ullrich Horlacher Server und Virtualisierung Rechenzentrum TIK Universitaet Stuttgart E-Mail: horlacher@tik.uni-stuttgart.de Allmandring 30a Tel: ++49-711-68565868 70569 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/ REF:<591176af-4974-124b-bcc6-97e694bf1089@gmail.com> ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: rsync.exe: error while loading shared libraries: cyglz4-1.dll 2020-09-06 21:51 ` Ulli Horlacher @ 2020-09-06 22:23 ` Brian Inglis 2020-09-07 13:57 ` Jon Turney 1 sibling, 0 replies; 7+ messages in thread From: Brian Inglis @ 2020-09-06 22:23 UTC (permalink / raw) To: cygwin On 2020-09-06 15:51, Ulli Horlacher wrote: > On Sun 2020-09-06 (16:11), René Berber via Cygwin wrote: > >>> I have installed cygwin with cygwin-portable-installer (recommendation >>> from this mailing-list). Everything seems fine, but when I run rsync I get: Official recommendation from this mailing list would always be to use the Cygwin Setup program downloaded directly from the cygwin.com site. >>> 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 > > >> Its the new version of rsync, which is recent... and probably is missing >> dependencies on setup. > > The error above appears on a freshly installed cygwin, on an older Windows > (VM) there is no such error. > > On the new cygwin installation: > > W10dev:~: ls -l /usr/bin/rsync > -rwxr-xr-x 1 admin None 2673952 Sep 6 10:27 /usr/bin/rsync > > > On the old (last year?) cygwin installation: > > W10dev:~/WHOME: ls -l /usr/bin/rsync > -rwxr-xr-x 1 admin None 1842817 Jan 29 2016 /usr/bin/rsync > > ==> different rsync versions! > > > >> My ldd output is different than yours, I do get the library you are missing: >> >> $ ldd /usr/bin/rsync >> ntdll.dll => /cygdrive/c/Windows/SYSTEM32/ntdll.dll >> (0x7ffc31860000) >> KERNEL32.DLL => /cygdrive/c/Windows/System32/KERNEL32.DLL >> (0x7ffc31540000) >> KERNELBASE.dll => /cygdrive/c/Windows/System32/KERNELBASE.dll >> (0x7ffc2ee80000) >> cygwin1.dll => /usr/bin/cygwin1.dll (0x180040000) >> cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x3fe8b0000) >> cygcrypto-1.1.dll => /usr/bin/cygcrypto-1.1.dll (0x3ff6f0000) >> cygzstd-1.dll => /usr/bin/cygzstd-1.dll (0x3f9bf0000) >> cygz.dll => /usr/bin/cygz.dll (0x3f9cf0000) >> cyglz4-1.dll => /usr/bin/cyglz4-1.dll (0x3fc550000) > > Strange... why doesn't my ldd list these additional libs? > Perhaps because they are not found?! > On UNIX ldd shows a "not found" error in such a case. > > >> Notice that there are more than one differences; they appear to be part >> of libz (or maybe libzstd). >> >> Probable work around: install the missing library. > > > W10dev:~: apt-cyg find lz4 > (...) > Searching for installable packages matching lz4: > liblz4-devel > liblz4_1 > lz4 > lz4-debuginfo > mingw64-i686-lz4 > mingw64-x86_64-lz4 > > Is it liblz4_1 ? > (yes - see below!) > > >> Another work around: install the previous version of rsync, which has >> very different library dependencies (i.e. no libcrypto, no libz dependency). > > W10dev:/usr/local/bin: cp -av /cygdrive/z/tmp/rsync.exe . > '/cygdrive/z/tmp/rsync.exe' -> './rsync.exe' > > W10dev:/usr/local/bin: type -a rsync > rsync is /usr/local/bin/rsync > rsync is /usr/bin/rsync > > W10dev:/usr/local/bin: /usr/local/bin/rsync --version > rsync version 3.1.2 protocol version 31 > Copyright (C) 1996-2015 by Andrew Tridgell, Wayne Davison, and others. > Web site: http://rsync.samba.org/ > Capabilities: > 64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints, > socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace, > append, ACLs, no xattrs, iconv, symtimes, prealloc > > rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you > are welcome to redistribute it under certain conditions. See the GNU > General Public Licence for details. > > W10dev:/usr/local/bin: /usr/bin/rsync --version > 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:/usr/local/bin: > > Tatatataaaaaaaaa! :-) > > > AND: > > W10dev:~: apt-cyg install liblz4_1 > (...) > Package liblz4_1 installed > > W10dev:~: find /usr | grep lz4 > /usr/bin/cyglz4-1.dll > > W10dev:~: /usr/bin/rsync --version > rsync version 3.2.4dev protocol version 31 > > And now ldd shows: > > 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) > cyglz4-1.dll => /usr/bin/cyglz4-1.dll (0x550db0000) > cygzstd-1.dll => /usr/bin/cygzstd-1.dll (0x3fd9e0000) > cygz.dll => /usr/bin/cygz.dll (0x3fdaa0000) > > > Ok, this means: in the current cygwin distribution the rsync package is > broken?! > Where can I report this bug? Shall I at least? Please see earlier comments about workarounds. Cygwin project can support only the current version of any package on currently supported Windows versions. Please download and rerun the Cygwin Setup program, with the -g, --upgrade-also option to upgrade or install any missing packages, and redo your testing. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in IEC units and prefixes, physical quantities in SI.] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: rsync.exe: error while loading shared libraries: cyglz4-1.dll 2020-09-06 21:51 ` Ulli Horlacher 2020-09-06 22:23 ` Brian Inglis @ 2020-09-07 13:57 ` Jon Turney 2020-09-07 19:22 ` Brian Inglis 2020-09-08 5:39 ` Jari Aalto 1 sibling, 2 replies; 7+ messages in thread From: Jon Turney @ 2020-09-07 13:57 UTC (permalink / raw) To: The Cygwin Mailing List; +Cc: Ulli Horlacher, Jari Aalto On 06/09/2020 22:51, Ulli Horlacher wrote: > On Sun 2020-09-06 (16:11), René Berber via Cygwin wrote: > >>> 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 [...] > > Ok, this means: in the current cygwin distribution the rsync package is > broken?! > Where can I report this bug? Shall I at least? Thanks for reporting this. Jari, I added 'liblz4_1 libzstd1 libssl1.1' to the requires: for rsync-3.2.3+20200903+git9f9240b-2. Please try to ensure they are correct in future. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: rsync.exe: error while loading shared libraries: cyglz4-1.dll 2020-09-07 13:57 ` Jon Turney @ 2020-09-07 19:22 ` Brian Inglis 2020-09-08 5:39 ` Jari Aalto 1 sibling, 0 replies; 7+ messages in thread From: Brian Inglis @ 2020-09-07 19:22 UTC (permalink / raw) To: cygwin On 2020-09-07 07:57, Jon Turney wrote: > On 06/09/2020 22:51, Ulli Horlacher wrote: >> On Sun 2020-09-06 (16:11), René Berber via Cygwin wrote: >> >>>> 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 > [...] >> >> Ok, this means: in the current cygwin distribution the rsync package is >> broken?! >> Where can I report this bug? Shall I at least? > > Thanks for reporting this. > > Jari, > > I added 'liblz4_1 libzstd1 libssl1.1' to the requires: for > rsync-3.2.3+20200903+git9f9240b-2. > > Please try to ensure they are correct in future. HINT to package maintainers: You *MUST* use *cygport*, if you want to be able to get your package through the current calm checking, to where it will be updated on the server, added to setup.ini, and installed with necessary prerequisites! Or you could jump through hoops to do what cygport does for you. ;^> -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in IEC units and prefixes, physical quantities in SI.] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: rsync.exe: error while loading shared libraries: cyglz4-1.dll 2020-09-07 13:57 ` Jon Turney 2020-09-07 19:22 ` Brian Inglis @ 2020-09-08 5:39 ` Jari Aalto 1 sibling, 0 replies; 7+ messages in thread From: Jari Aalto @ 2020-09-08 5:39 UTC (permalink / raw) To: Jon Turney; +Cc: The Cygwin Mailing List, Ulli Horlacher On 2020-09-07 14:57, Jon Turney wrote: > On 06/09/2020 22:51, Ulli Horlacher wrote: > > On Sun 2020-09-06 (16:11), René Berber via Cygwin wrote: > > > > > > 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 > [...] > > > > Ok, this means: in the current cygwin distribution the rsync package is > > broken?! > > Where can I report this bug? Shall I at least? > > Thanks for reporting this. > > Jari, > > I added 'liblz4_1 libzstd1 libssl1.1' to the requires: for > rsync-3.2.3+20200903+git9f9240b-2. > > Please try to ensure they are correct in future. Thanks, will update Jari ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-09-08 5:39 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-09-06 20:43 rsync.exe: error while loading shared libraries: cyglz4-1.dll Ulli Horlacher 2020-09-06 21:11 ` René Berber 2020-09-06 21:51 ` Ulli Horlacher 2020-09-06 22:23 ` Brian Inglis 2020-09-07 13:57 ` Jon Turney 2020-09-07 19:22 ` Brian Inglis 2020-09-08 5:39 ` Jari Aalto
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).