From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x230.google.com (mail-oi1-x230.google.com [IPv6:2607:f8b0:4864:20::230]) by sourceware.org (Postfix) with ESMTPS id 7A1B4385782F for ; Sun, 6 Sep 2020 21:10:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 7A1B4385782F Received: by mail-oi1-x230.google.com with SMTP id a3so6219063oib.4 for ; Sun, 06 Sep 2020 14:10:43 -0700 (PDT) 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) Received: from [192.168.10.3] ([200.57.195.23]) by smtp.gmail.com with ESMTPSA id g23sm643194oop.46.2020.09.06.14.10.41 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); 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> From: =?UTF-8?Q?Ren=c3=a9_Berber?= 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-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2020 21:10:44 -0000 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