Hacker News new | ask | show | jobs
A surprising fact about ldd (joshmcguigan.com)
1 points by JoshMcguigan 1086 days ago
1 comments

I was using ldd to investigate how nix handles dynamic linking and I was seeing some output I didn't understand. Others were asking about this on stackoverflow[0] but I wasn't able to find any explanation. After a little digging I realized what I was missing: ldd doesn't run the dynamic linker requested by the program (in its elf headers), rather it uses the "standard" dynamic linker in your environment.

[0]: https://stackoverflow.com/questions/34428037/how-to-interpre...