Settings

Theme

A surprising fact about ldd

joshmcguigan.com

1 points by JoshMcguigan 3 years ago · 1 comment

Reader

JoshMcguiganOP 3 years ago

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...

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection