delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
DMARC-Filter: | OpenDMARC Filter v1.3.2 sourceware.org 9B3FE385782F |
Authentication-Results: | sourceware.org; dmarc=none (p=none dis=none) |
header.from=SystematicSw.ab.ca | |
Authentication-Results: | sourceware.org; |
spf=none smtp.mailfrom=brian DOT inglis AT systematicsw DOT ab DOT ca | |
X-Authority-Analysis: | v=2.3 cv=ecemg4MH c=1 sm=1 tr=0 |
a=kiZT5GMN3KAWqtYcXc+/4Q==:117 a=kiZT5GMN3KAWqtYcXc+/4Q==:17 | |
a=IkcTkHD0fZMA:10 a=w_pzkKWiAAAA:8 a=hGzw-44bAAAA:8 a=ZQPdN8fjzJ7MDMLOVsMA:9 | |
a=QEXdDO2ut3YA:10 a=sRI3_1zDfAgwuvI8zelB:22 a=HvKuF1_PTVFglORKqfwH:22 | |
Subject: | Re: rsync.exe: error while loading shared libraries: cyglz4-1.dll |
To: | cygwin AT cygwin DOT com |
References: | <20200906204357 DOT GA19595 AT tik DOT uni-stuttgart DOT de> |
<591176af-4974-124b-bcc6-97e694bf1089 AT gmail DOT com> | |
<20200906215107 DOT GB19595 AT tik DOT uni-stuttgart DOT de> | |
From: | Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca> |
Autocrypt: | addr=Brian DOT Inglis AT SystematicSw DOT ab DOT ca; prefer-encrypt=mutual; |
keydata= | |
mDMEXopx8xYJKwYBBAHaRw8BAQdAnCK0qv/xwUCCZQoA9BHRYpstERrspfT0NkUWQVuoePa0 | |
LkJyaWFuIEluZ2xpcyA8QnJpYW4uSW5nbGlzQFN5c3RlbWF0aWNTdy5hYi5jYT6IlgQTFggA | |
PhYhBMM5/lbU970GBS2bZB62lxu92I8YBQJeinHzAhsDBQkJZgGABQsJCAcCBhUKCQgLAgQW | |
AgMBAh4BAheAAAoJEB62lxu92I8Y0ioBAI8xrggNxziAVmr+Xm6nnyjoujMqWcq3oEhlYGAO | |
WacZAQDFtdDx2koSVSoOmfaOyRTbIWSf9/Cjai29060fsmdsDLg4BF6KcfMSCisGAQQBl1UB | |
BQEBB0Awv8kHI2PaEgViDqzbnoe8B9KMHoBZLS92HdC7ZPh8HQMBCAeIfgQYFggAJhYhBMM5 | |
/lbU970GBS2bZB62lxu92I8YBQJeinHzAhsMBQkJZgGAAAoJEB62lxu92I8YZwUBAJw/74rF | |
IyaSsGI7ewCdCy88Lce/kdwX7zGwid+f8NZ3AQC/ezTFFi5obXnyMxZJN464nPXiggtT9gN5 | |
RSyTY8X+AQ== | |
Organization: | Systematic Software |
Message-ID: | <d71c77b5-3de1-698c-04aa-ec14c4f3a9d0@SystematicSw.ab.ca> |
Date: | Sun, 6 Sep 2020 16:23:23 -0600 |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 |
Thunderbird/68.12.0 | |
MIME-Version: | 1.0 |
In-Reply-To: | <20200906215107.GB19595@tik.uni-stuttgart.de> |
X-CMAE-Envelope: | MS4wfC511IYRrf9DY36hUPPHMJaxGKR2aFeyCET3FzJaLWLodGy9ithvYb/h0/pHA5yK6yvLah5eNVdowzTwhmeAZMf/U2l4XmqS+N0Chz4XOyDJle/1MatL |
F9uQf+fq0qsTc7K1MZ9os7XNMaXv/uovjscFQ5LCgdcLSwIvkIDSUDp8dYB4nF7ZBHNyxWj23xahag== | |
X-Spam-Status: | No, score=-8.4 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, |
KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, | |
SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.2 | |
X-Spam-Checker-Version: | SpamAssassin 3.4.2 (2018-09-13) on |
server2.sourceware.org | |
X-BeenThere: | cygwin AT cygwin DOT com |
X-Mailman-Version: | 2.1.29 |
List-Id: | General Cygwin discussions and problem reports <cygwin.cygwin.com> |
List-Unsubscribe: | <https://cygwin.com/mailman/options/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe> | |
List-Archive: | <https://cygwin.com/pipermail/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help> |
List-Subscribe: | <https://cygwin.com/mailman/listinfo/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
Reply-To: | cygwin AT cygwin DOT com |
Errors-To: | cygwin-bounces AT cygwin DOT com |
Sender: | "Cygwin" <cygwin-bounces AT cygwin DOT com> |
X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id 086MNvKR013113 |
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.] -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |