delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/05/16/11:42:31

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:content-type:content-transfer-encoding
:subject:message-id:date:to:mime-version; q=dns; s=default; b=se
/KZH2uOnJ2zq4bPxUn71+qujjgSytsKLaOJ0PB7dtt55anNbPk2ekgW95hzgxfSK
rGdsHcrCM661iKOTErrx5RZRNNO/qinMJQTSHTH3Ua1za3t4ZAk4N+duplzrFFvg
ySyzJ/XHyK7EgVqrAF+2+zr7FRuWyAne/NswmIGjc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:content-type:content-transfer-encoding
:subject:message-id:date:to:mime-version; s=default; bh=tt+gT9wc
yM6e5+DvvMkYjlf9Ex8=; b=FhKnM9tZlfuwaA1JZwtaeXaBQpVB+qyhTr5NOcFV
o+tgMvPypPd4olo4JBTbPz1i+ywRkoxuNa0bOFDdiJ2EyrrkLOGfWE3/d1ThHKxJ
N+XXMuZY3XMZaQoWDXPdSNv47ESnTDvyArkJmJrFjgxDxRRwz1idzwgfF0CU+dZd
MJ0=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.5 required=5.0 tests=AWL,BAYES_40,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=Walker, WINDOWS, walker, H*MI:usa
X-HELO: etr-usa.com
From: Warren Young <wyml AT etr-usa DOT com>
Subject: Why does ldd not show cyg*.dll in its output?
Message-Id: <3AD694B4-17D4-4963-88FD-435AD4DD36D5@etr-usa.com>
Date: Mon, 16 May 2016 09:42:06 -0600
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u4GFgR4p018983

STC:

    $ ldd `which ls`

Actual output:

$ ldd `which ls`
        ntdll.dll => /c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffd16fb0000)
        KERNEL32.DLL => /c/WINDOWS/system32/KERNEL32.DLL (0x7ffd16b80000)
        KERNELBASE.dll => /c/WINDOWS/system32/KERNELBASE.dll (0x7ffd13f50000)

Expected output:

According to Microsoft’s Dependency Walker tool, the output should also list cygwin1.dll and cygintl-8.dll, at minimum.  Since it seems happy to chase dependencies from kernel32.dll to the other two, which are not explicit dependencies of ls.exe, it should also list cygiconv-2.dll, via cygintl.

Bonus points if the output changes to a tree view, so the indirect dependencies are clear.
--
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