4 ms·
A surprising fact about ldd
- JoshMcguigan 3y agoI 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-interpret-the-output-of-the-ldd-program/35805410#35805410 https://stackoverflow.com/questions/34428037/how-to-interpre...