A surprising fact about ldd
joshmcguigan.comI 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...