delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/04/08/08:55:59

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D99D83945C38
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1617886556;
bh=s2C1vFsz/BwRnLzFTi9nuL/0Qqzb4JL3FdgjUD6SX9A=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=hKmPoWCnBBIs1v204k1FjKv9NfqxlRWybIxNZezxvDeQwloukmcihgQRhtoobNAo8
MtmO8rCXkzATj7N/tUJru4hGb5Fp9NXm0s34P5eou89OtrYYY4jRML5KRvH+5tC9Be
II9+rftbHu4aSZUwroY3WiM2JgoVulxzRMzc70ng=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org CC64D385703C
DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com 138CtFYQ003879
X-Nifty-SrcIP: [124.155.50.190]
Date: Thu, 8 Apr 2021 21:55:18 +0900
To: cygwin AT cygwin DOT com
Subject: Re: Cannot run executable named setlang
Message-Id: <20210408215518.e518f093c3411c5ea1333444@nifty.ne.jp>
In-Reply-To: <CAGHpTBKmebhkJ1PesUoks7xQr7gFGSspPgQppqVAr46A-VDW+A@mail.gmail.com>
References: <CAGHpTBKmebhkJ1PesUoks7xQr7gFGSspPgQppqVAr46A-VDW+A AT mail DOT gmail DOT com>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, 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 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>
From: Takashi Yano via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
Cc: Orgad Shaneh <orgads AT gmail DOT com>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On Thu, 8 Apr 2021 15:25:45 +0300
Orgad Shaneh wrote:
> Hi,
> 
> I cannot run an executable if it is named setlang (case insensitive).
> It exits with code 127.
> 
> Example:
> cp /bin/ls setlang
> ./setlang -> Error 127
> 
> I've noticed a difference in ldd output. cygwin dlls appear twice.
> 
> ldd /bin/ls:
>         ntdll.dll => /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffd9be50000)
>         KERNEL32.DLL => /cygdrive/c/WINDOWS/System32/KERNEL32.DLL
> (0x7ffd9bbb0000)
>         KERNELBASE.dll => /cygdrive/c/WINDOWS/System32/KERNELBASE.dll
> (0x7ffd9b8e0000)
>         cygwin1.dll => /usr/bin/cygwin1.dll (0x180040000)
>         cygintl-8.dll => /usr/bin/cygintl-8.dll (0x3ff810000)
>         cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x3ff830000)
> 
> ldd setlang:
>         ntdll.dll => /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffd9be50000)
>         KERNEL32.DLL => /cygdrive/c/WINDOWS/System32/KERNEL32.DLL
> (0x7ffd9bbb0000)
>         KERNELBASE.dll => /cygdrive/c/WINDOWS/System32/KERNELBASE.dll
> (0x7ffd9b8e0000)
>         cygwin1.dll => /usr/bin/cygwin1.dll (0xc10000)
>         cygintl-8.dll => /usr/bin/cygintl-8.dll (0x170000)
>         cygwin1.dll => /usr/bin/cygwin1.dll (0xc10000)
>         cygintl-8.dll => /usr/bin/cygintl-8.dll (0x170000)
>         cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x600000)
>         cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x600000)
> 
> Any idea what can cause this?

Isn't this the same issue with:
https://cygwin.com/pipermail/cygwin/2021-January/247508.html
?

-- 
Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019