Is there any programming way (system call?) to list shared library dependency on Linux? Instead of using ldd
...
readelf -Wa lib.so|grep NEEDED
Gentoo Linux has an lddtree.sh http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-projects/pax-utils/lddtree.sh?revision=1.22&content-type=text%2Fplain
You may find it helpful.
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