TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

A surprising fact about ldd

1 pointsby JoshMcguiganalmost 2 years ago

1 comment

JoshMcguiganalmost 2 years ago
I was using ldd to investigate how nix handles dynamic linking and I was seeing some output I didn&#x27;t understand. Others were asking about this on stackoverflow[0] but I wasn&#x27;t able to find any explanation. After a little digging I realized what I was missing: ldd doesn&#x27;t run the dynamic linker requested by the program (in its elf headers), rather it uses the &quot;standard&quot; dynamic linker in your environment.<p>[0]: <a href="https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;34428037&#x2F;how-to-interpret-the-output-of-the-ldd-program&#x2F;35805410#35805410" rel="nofollow noreferrer">https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;34428037&#x2F;how-to-interpre...</a>