title: Does ldd also show dependencies of dependencies?
body: <p>I have a binary for which ldd shows an unexpected dependency und libicuuc (from "icu").</p>
  
  <pre><code>#ldd A
  [...]
  libxml2.so.2 =&gt; /usr/lib64/libxml2.so.2 (0x00007faaf9722000)
  libicuuc.so.49 =&gt; /usr/lib64/libicuuc.so.49 (0x00007faaf5689000)
  </code></pre>
  
  <p>Since on this system libxml depends dynamically on libicuuc, it makes sense that ldd enventually ends up finding it, but is it expected that libicuuc also appears in the ldd output for A?  Is there some command to retrieve only the libraries that are linked in as dependencies of dependencies?</p>