because many times it is necessary to find out the depending libraries of an executable but ldd is not available. This happens a lot on embedded systems that runs Linux.
Also, on x86, ldd attempt to actually run the application. If this cannot happen (e.g. because you attempt to run a 32-bit app on a 64-bit Linux and no 32-bit compatibility is present), you don't get output at all.
why, please?
ReplyDeletebecause many times it is necessary to find out the depending libraries of an executable but ldd is not available. This happens a lot on embedded systems that runs Linux.
ReplyDeleteCool thanks for the tip
ReplyDeleteAlso, on x86, ldd attempt to actually run the application. If this cannot happen (e.g. because you attempt to run a 32-bit app on a 64-bit Linux and no 32-bit compatibility is present), you don't get output at all.
ReplyDeleteVery helpful, works as ldd replacement with my MIPS toolchain
ReplyDelete