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 <youtian...@gmail.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 > <ear...@users.sourceforge.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