Why does ldd not show cyg*.dll in its output?

Hans-Bernhard Bröker HBBroeker@t-online.de
Thu May 19 23:21:00 GMT 2016


Am 16.05.2016 um 19:50 schrieb Yaakov Selkowitz:
> On 2016-05-16 10:42, Warren Young wrote:
>> $ 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)
>
> WFM:
>
> $ /bin/ldd /bin/ls
>         ntdll.dll => /cygdrive/c/Windows/SYSTEM32/ntdll.dll (0x77c90000)
>         kernel32.dll => /cygdrive/c/Windows/system32/kernel32.dll
> (0x77a70000)
>         KERNELBASE.dll => /cygdrive/c/Windows/system32/KERNELBASE.dll
> (0x7fefdb10000)
>         cygwin1.dll => /usr/bin/cygwin1.dll (0x180040000)
>         cygintl-8.dll => /usr/bin/cygintl-8.dll (0x3d4e00000)
>         cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x3d8b50000)

Does not WFM:

$ ldd /usr/bin/ls.exe
         ntdll.dll => /cygdrive/c/windows/SYSTEM32/ntdll.dll 
(0x7ffe93c00000)
         KERNEL32.DLL => /cygdrive/c/windows/system32/KERNEL32.DLL 
(0x7ffe912d0000)
         KERNELBASE.dll => /cygdrive/c/windows/system32/KERNELBASE.dll 
(0x7ffe90310000)

(no different results from /bin/ls or /bin/ls.exe, either).

This is with ldd.exe from cygwin-2.5.1-1, on Win10 64bit, installed into 
c:\cygwin64



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



More information about the Cygwin mailing list