public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* False negative from cygcheck python27.dll (Windows)
@ 2016-09-01 13:40 Henry S. Thompson
  2016-09-01 14:43 ` Corinna Vinschen
  0 siblings, 1 reply; 3+ messages in thread
From: Henry S. Thompson @ 2016-09-01 13:40 UTC (permalink / raw)
  To: cygwin

This is not new, I don't think, but I thought I'd check if it's a known
problem.

Running Cygwin 2.5.2 on Windows 10 (which just forced the Anniversary
update on me, various minor irritations to be overcome), I see the
following:

   > cygcheck python27.dll
  Found: C:\WINDOWS\system32\python27.dll
  C:\WINDOWS\system32\python27.dll
    C:\WINDOWS\system32\KERNEL32.dll
      C:\WINDOWS\system32\ntdll.dll
      C:\WINDOWS\system32\KERNELBASE.dll
    C:\WINDOWS\system32\USER32.dll
      C:\WINDOWS\system32\win32u.dll
      C:\WINDOWS\system32\GDI32.dll
    C:\WINDOWS\system32\ADVAPI32.dll
      C:\WINDOWS\system32\msvcrt.dll
      C:\WINDOWS\system32\SECHOST.dll
        C:\WINDOWS\system32\RPCRT4.dll
    C:\WINDOWS\system32\SHELL32.dll
  cygcheck: track_down: could not find MSVCR90.dll

But not surprisingly /c/Python27/python runs just fine, and both strace
and depends [1] report that the MSVCR90 dependency is satisfied from

  C:\Windows\WinSxS\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9247_none_08e394a1a83e212f\msvcr90.dll

Just a minor irritation, but I'm curious if there's an underlying
reason, or it's a bug.

ht

[1] http://www.dependencywalker.com/
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]

--
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: False negative from cygcheck python27.dll (Windows)
  2016-09-01 13:40 False negative from cygcheck python27.dll (Windows) Henry S. Thompson
@ 2016-09-01 14:43 ` Corinna Vinschen
  2016-09-01 14:53   ` Henry S. Thompson
  0 siblings, 1 reply; 3+ messages in thread
From: Corinna Vinschen @ 2016-09-01 14:43 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1746 bytes --]

On Sep  1 14:39, Henry S. Thompson wrote:
> This is not new, I don't think, but I thought I'd check if it's a known
> problem.
> 
> Running Cygwin 2.5.2 on Windows 10 (which just forced the Anniversary
> update on me, various minor irritations to be overcome),

Be glad, be *really* glad, you don't run W10 Enterprise and use a
WSUS server for updates...

> I see the
> following:
> 
>    > cygcheck python27.dll
>   Found: C:\WINDOWS\system32\python27.dll
>   C:\WINDOWS\system32\python27.dll
>     C:\WINDOWS\system32\KERNEL32.dll
>       C:\WINDOWS\system32\ntdll.dll
>       C:\WINDOWS\system32\KERNELBASE.dll
>     C:\WINDOWS\system32\USER32.dll
>       C:\WINDOWS\system32\win32u.dll
>       C:\WINDOWS\system32\GDI32.dll
>     C:\WINDOWS\system32\ADVAPI32.dll
>       C:\WINDOWS\system32\msvcrt.dll
>       C:\WINDOWS\system32\SECHOST.dll
>         C:\WINDOWS\system32\RPCRT4.dll
>     C:\WINDOWS\system32\SHELL32.dll
>   cygcheck: track_down: could not find MSVCR90.dll
> 
> But not surprisingly /c/Python27/python runs just fine, and both strace
> and depends [1] report that the MSVCR90 dependency is satisfied from
> 
>   C:\Windows\WinSxS\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9247_none_08e394a1a83e212f\msvcr90.dll
> 
> Just a minor irritation, but I'm curious if there's an underlying
> reason, or it's a bug.

There's a reason and it's that WinSxS stuff.  It works with invisible
redirections so the path itself is not in the usual DLL search path.
We could add the WinSXS dir and all subdirs, but is it worth it?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: False negative from cygcheck python27.dll (Windows)
  2016-09-01 14:43 ` Corinna Vinschen
@ 2016-09-01 14:53   ` Henry S. Thompson
  0 siblings, 0 replies; 3+ messages in thread
From: Henry S. Thompson @ 2016-09-01 14:53 UTC (permalink / raw)
  To: cygwin

Corinna Vinschen writes:

> On Sep  1 14:39, Henry S. Thompson wrote:
>> This is not new, I don't think, but I thought I'd check if it's a known
>> problem.
>> 
>> Running Cygwin 2.5.2 on Windows 10 (which just forced the Anniversary
>> update on me, various minor irritations to be overcome),
>
> Be glad, be *really* glad, you don't run W10 Enterprise and use a
> WSUS server for updates...

Heh.

>> I see the
>> following:
>> 
>>    > cygcheck python27.dll
>>   Found: C:\WINDOWS\system32\python27.dll
>>   ...     
>>   cygcheck: track_down: could not find MSVCR90.dll
>> 
>> But not surprisingly /c/Python27/python runs just fine, and both strace
>> and depends [1] report that the MSVCR90 dependency is satisfied from
>> 
>>   C:\Windows\WinSxS\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9247_none_08e394a1a83e212f\msvcr90.dll
>> 
>> Just a minor irritation, but I'm curious if there's an underlying
>> reason, or it's a bug.
>
> There's a reason and it's that WinSxS stuff.  It works with invisible
> redirections so the path itself is not in the usual DLL search path.
> We could add the WinSXS dir and all subdirs, but is it worth it?

Hmm, maybe on request (i.e. another flag) -- given that there may be
multiple subdirectories of WinSxS, knowing which one is getting used can
be of real value in tricky situations...

ht
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]

--
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-01 14:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-01 13:40 False negative from cygcheck python27.dll (Windows) Henry S. Thompson
2016-09-01 14:43 ` Corinna Vinschen
2016-09-01 14:53   ` Henry S. Thompson

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).