public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Orgad Shaneh <orgads@gmail.com>
To: cygwin@cygwin.com
Subject: Cannot run executable named setlang
Date: Thu, 8 Apr 2021 15:25:45 +0300	[thread overview]
Message-ID: <CAGHpTBKmebhkJ1PesUoks7xQr7gFGSspPgQppqVAr46A-VDW+A@mail.gmail.com> (raw)

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?

Thanks,
- Orgad

             reply	other threads:[~2021-04-08 12:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-08 12:25 Orgad Shaneh [this message]
2021-04-08 12:55 ` Takashi Yano
2021-04-08 13:35   ` Takashi Yano
2021-04-08 17:57   ` Orgad Shaneh
2021-04-08 13:28 ` Marco Atzeri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAGHpTBKmebhkJ1PesUoks7xQr7gFGSspPgQppqVAr46A-VDW+A@mail.gmail.com \
    --to=orgads@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).