For cross-instrumentation cases, we sometimes cannot run ldd to satisfy stap --ldd / .library("*") requests. In other cases (android's /system/bin/linker), that may not have the LD_TRACE_* feature at all. We probably need to bring back scox's earlier explicit DT_NEEDED traverser logic, if that can still be found.
Stan Cox patch http://old.nabble.com/PATCH-add-more-syntax-for-shared-library-probing-td31220746.html