Any dependency walker for android shared libraries?

1,295 views
Skip to first unread message

sateesh

unread,
May 7, 2010, 1:24:32 AM5/7/10
to android-ndk
Is there any tool available to find out dependencies of an android
shared library (.so)?

I'm trying to find out why dlopen is failing (dlopen just says library
couldn't be found) and I suspect that the problem may be with
dependencies, as I'm able to load other .so's in the same directory.

Thanks,
Sateesh

--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.

David Turner

unread,
May 7, 2010, 1:57:34 AM5/7/10
to andro...@googlegroups.com
If its a dependency problem, the logcat should tell you whatś happening exactly (starting from Android 1.6, the dynamic linker in 1.5 doesn't send useful messages).
You can still use build/prebuilt/<system>/arm-eabi-4.4.0/bin/arm-eabi-readelf -d <libfoo.so> to dump the dynamic section of an ELF library, which will show which other libraries it depends on.
Reply all
Reply to author
Forward
0 new messages