delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/06/20/12:15:58

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_YG
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <CAKeUZfydOPTUCjxrRkHGp--R5mMV6UrnT4nR+Uzj263nNz+WVw@mail.gmail.com>
References: <CAKeUZfyjvJm08KveF4bVpWW7FORi5OHi8g_zH4rvJ2FPQFm9pQ AT mail DOT gmail DOT com> <CA+sc5mknGp1jFMJbWCD_rvNSZZN0kMw00GPkm3yMMixFSiDjeg AT mail DOT gmail DOT com> <CAKeUZfxUD5eu47j5+NLPu+ZXhYZr2iSzd6PyFca4RaP8jUY7pw AT mail DOT gmail DOT com> <CA+sc5mn2k4F5MSuqOPgmkGW1WN3LVKB1CDREoXAr-5dQR+rAwQ AT mail DOT gmail DOT com> <CAKeUZfydOPTUCjxrRkHGp--R5mMV6UrnT4nR+Uzj263nNz+WVw AT mail DOT gmail DOT com>
Date: Thu, 21 Jun 2012 00:15:24 +0800
Message-ID: <CAKeUZfzTBRFg_ckQCNCrSpoo=D2wRT+e4qDbjGJNM01fMdF3jQ@mail.gmail.com>
Subject: Re: Ask for help on running interactive cmd in Mintty!
From: Tian You <youtian001 AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q5KGFsH0017125

Here is also some library info:

$ cygcheck.exe /bin/ssh.exe
C:\MyApp\bin\ssh.exe
  C:\MyApp\bin\cygcrypto-0.9.8.dll
    C:\MyApp\bin\cygwin1.dll
      C:\WINDOWS\system32\KERNEL32.dll
        C:\WINDOWS\system32\ntdll.dll
    C:\MyApp\bin\cygz.dll
      C:\MyApp\bin\cyggcc_s-1.dll
  C:\MyApp\bin\cygssp-0.dll

$ ldd.exe /bin/ssh.exe
        ntdll.dll => /cygdrive/c/WINDOWS/system32/ntdll.dll (0x7c900000)
        kernel32.dll => /cygdrive/c/WINDOWS/system32/kernel32.dll (0x7c800000)
        cygcrypto-0.9.8.dll => /usr/bin/cygcrypto-0.9.8.dll (0x6bc40000)
        cygwin1.dll => /usr/bin/cygwin1.dll (0x61000000)
        cygz.dll => /usr/bin/cygz.dll (0x694c0000)
        cyggcc_s-1.dll => /usr/bin/cyggcc_s-1.dll (0x6bf40000)
        cygssp-0.dll => /usr/bin/cygssp-0.dll (0x67280000)

On Thu, Jun 21, 2012 at 12:04 AM, Tian You <youtian001 AT gmail DOT com> wrote:
> Here is the front part of the output, but I do not understand it very well.
> Could you find any clue from it?
>
> $ cygcheck.exe -v /bin/ssh.exe
> C:\MyApp\bin\ssh.exe - os=4.0 img=1.0 sys=4.0
> Warning: C:\MyApp\bin\cygcrypto-0.9.8.dll hides
> C:\MyApp_old\bin\cygcrypto-0.9.8.dll
>  C:\MyApp\bin\cygcrypto-0.9.8.dll - os=4.0 img=1.0 sys=4.0
>    "cygcrypto-0.9.8.dll" v0.0 ts=2012/5/11 12:25
> Warning: C:\MyApp\bin\cygwin1.dll hides C:\MyApp_old\bin\cygwin1.dll
>    C:\MyApp\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
>      "cygwin1.dll" v0.0 ts=2012/5/9 9:25
>      C:\WINDOWS\system32\KERNEL32.dll - os=5.1 img=5.1 sys=4.0
>        "KERNEL32.dll" v0.0 ts=2008/4/13 20:15
>        C:\WINDOWS\system32\ntdll.dll - os=5.1 img=5.1 sys=4.10
>          "ntdll.dll" v0.0 ts=2010/12/9 13:38
>      C:\WINDOWS\system32\ntdll.dll (already done)
> Warning: C:\MyApp\bin\cygz.dll hides C:\MyApp_old\bin\cygz.dll
>    C:\MyApp\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
>      "cygz.dll" v0.0 ts=2012/5/13 5:11
> Warning: C:\MyApp\bin\cygwin1.dll hides C:\MyApp_old\bin\cygwin1.dll
>      C:\MyApp\bin\cygwin1.dll (already done)
> Warning: C:\MyApp\bin\cyggcc_s-1.dll hides C:\MyApp_old\bin\cyggcc_s-1.dll
>      C:\MyApp\bin\cyggcc_s-1.dll - os=4.0 img=1.0 sys=4.0
>        "cyggcc_s-1.dll" v0.0 ts=2011/10/23 14:15
> Warning: C:\MyApp\bin\cygwin1.dll hides C:\MyApp_old\bin\cygwin1.dll
>        C:\MyApp\bin\cygwin1.dll (already done)
>        C:\WINDOWS\system32\KERNEL32.dll (already done)
>      C:\WINDOWS\system32\KERNEL32.dll (already done)
> Warning: C:\MyApp\bin\cyggcc_s-1.dll hides C:\MyApp_old\bin\cyggcc_s-1.dll
>    C:\MyApp\bin\cyggcc_s-1.dll (already done)
>    C:\WINDOWS\system32\KERNEL32.dll (already done)
> Warning: C:\MyApp\bin\cygwin1.dll hides C:\MyApp_old\bin\cygwin1.dll
>  C:\MyApp\bin\cygwin1.dll (already done)
> Warning: C:\MyApp\bin\cygz.dll hides C:\MyApp_old\bin\cygz.dll
>  C:\MyApp\bin\cygz.dll (already done)
> Warning: C:\MyApp\bin\cyggcc_s-1.dll hides C:\MyApp_old\bin\cyggcc_s-1.dll
>  C:\MyApp\bin\cyggcc_s-1.dll (already done)
> Warning: C:\MyApp\bin\cygssp-0.dll hides C:\MyApp_old\bin\cygssp-0.dll
>  C:\MyApp\bin\cygssp-0.dll - os=4.0 img=1.0 sys=4.0
>    "cygssp-0.dll" v0.0 ts=2011/10/23 14:33
> Warning: C:\MyApp\bin\cygwin1.dll hides C:\MyApp_old\bin\cygwin1.dll
>    C:\MyApp\bin\cygwin1.dll (already done)
>    C:\WINDOWS\system32\KERNEL32.dll (already done)
>  C:\WINDOWS\system32\KERNEL32.dll (already done)
> Warning: C:\MyApp\bin\cygssp-0.dll hides C:\MyApp_old\bin\cygssp-0.dll
>  C:\MyApp\bin\cygssp-0.dll (already done)
> <snip>
>
> On Wed, Jun 20, 2012 at 11:44 PM, Earnie Boyd
> <earnie AT users DOT sourceforge DOT net> wrote:
>> http://cygwin.com/acronyms/#TOFU
>>
>> On Wed, Jun 20, 2012 at 11:07 AM, Tian You wrote:
>>> I run the perl script in mintty.
>>> If I run it in a Windows cmd.exe terminal, that works normally.
>>> The ssh.exe is compiled in the Cygwin by myself.
>>>
>>
>> This points even more to what I suspect, that you are running an
>> ssh.exe that is "native" MSVCRT runtime instead of Cygwin runtime.
>> What does ``cygcheck -v ssh'' tell you?
>>
>> --
>> Earnie
>> -- https://sites.google.com/site/earnieboyd
>>
>> --
>> Problem reports:       http://cygwin.com/problems.html
>> FAQ:                   http://cygwin.com/faq/
>> Documentation:         http://cygwin.com/docs.html
>> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


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