X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 424C5386F404
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1599426646;
	bh=EW1RS0/ucCyK+jwWKa5xxNPDD6nGVFvvto4jMsbS0dg=;
	h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=lvIJobKLJT2jB+OCmFWS6JL1LHYbXUHqhGPxy0PnLwMOfaZl51nXCOVytSYPglVoH
	 M261+K06HOJpgVky8O+wEJhtuQpvPYPwk8wRptrpA+DtgUBV/t6kwrcHlagG0qKqkQ
	 a8vhMTWUcOUTHGURXb7i2QqEkh4OsjtVtMO+uj8U=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 7A1B4385782F
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:subject:to:references:from:message-id:date
 :user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=XzVImRwGq5mYYn5cF7K+Gkr1NZtRRmIMJUMFlW30pkY=;
 b=YHcjyFjhPobBquZou4hlOZJYwHQ4tm0XO4mhYtwvcOEQeI5yoN03OXTLHeq6mSN9KR
 UTQNqlNRewPjBWbf9EY7Jcphk74nFyUf+81613cKQGTeA5PDa4IeZ3huJOFZf4asWpEk
 BmleAVT4s33ux4+Q1mqGnzKakdyK+LKJfRUqPkLavqa2AQoUnRVE909d0zg2jtHyi8em
 3ZADmMz1e0xkh/za7tqNIbpXM49A7/U0aPOiRHh6OS1wpcQ2BM6HKzs3Of40bBSFbLZ5
 E7mtuXY2IlhFEE5+BsEqot61Re9ely1KnECfwzcKMbeF/SJrOKXTGFi3GL4qFGhjuKva
 NIbw==
X-Gm-Message-State: AOAM532By7kAprSX6GRuw3pfWPlU5aMmAaQlZF2r/bes1twzHsDZfX39
 gAMWRN8TKgbJ1r/QMNyAHAxs+ciZt2Q=
X-Google-Smtp-Source: ABdhPJwWSvScIc2/KU/PQjA6hYOiu++tr3HtPHver4wziHlloDnGPb5j66ueVTQQ/TLwbkHadtNwaA==
X-Received: by 2002:a54:4099:: with SMTP id i25mr11270315oii.39.1599426642643; 
 Sun, 06 Sep 2020 14:10:42 -0700 (PDT)
Subject: Re: rsync.exe: error while loading shared libraries: cyglz4-1.dll
To: cygwin@cygwin.com
References: <20200906204357.GA19595@tik.uni-stuttgart.de>
Message-ID: <591176af-4974-124b-bcc6-97e694bf1089@gmail.com>
Date: Sun, 6 Sep 2020 16:11:12 -0500
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19)
 Gecko/20081209 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0
MIME-Version: 1.0
In-Reply-To: <20200906204357.GA19595@tik.uni-stuttgart.de>
Content-Language: en-US
X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A,
 RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
 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@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: =?utf-8?q?Ren=C3=A9_Berber_via_Cygwin?= <cygwin@cygwin.com>
Reply-To: =?UTF-8?Q?Ren=c3=a9_Berber?= <rene.berber@gmail.com>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

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
--
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
