Cannot run executable named setlang

Takashi Yano takashi.yano@nifty.ne.jp
Thu Apr 8 12:55:18 GMT 2021


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.yano@nifty.ne.jp>


More information about the Cygwin mailing list