I have created a cross compiled arm executable. I want to find the library dependency of the executable. I am using ubuntu natty and installed arm-linux-gnueabi tool chain, which does not contain ldd. Is there a tool available to view arm executables library dependancy in linux.
This is a bit of a kluge, but it's the best solution I could find, and it really works quite well for basic use - just save this script as "arm-none-linux-gnueabi-ldd" with your other cross tools.
#!/bin/sh arm-none-linux-gnueabi-readelf -a $1 | grep "Shared library:"
You could also use objdump and in order to just dump and search the header fraction of the binary. This may save you some milliseconds...
#!/bin/sh arm-none-linux-gnueabi-objdump -x $1 | grep NEEDED
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With