Android runtime contains libs with rpath
Submitted by Carl Kovamees
When using the gstreamer Android runtime there are a few libraries that get blacklisted
Total count: 157 plugins (34 blacklist entries not shown), 976 features
A gst-inspect-1.0 x264enc shows:
(gst-inspect-1.0:10797): GStreamer-WARNING **: Failed to load plugin '/storage/sdcard1/gstreamer/lib/gstreamer-1.0/libgstx264.so': dlopen failed: could not load library "libgstpbutils-1.0.so.0" needed by "libgstx264.so"; caused by could not load library "libgstaudio-1.0.so.0" needed by "libgstpbutils-1.0.so.0"; caused by could not load library "libgsttag-1.0.so.0" needed by "libgstaudio-1.0.so.0"; caused by could not load library "/home/slomo/Projects/gstreamer/cerbero/dist/android-nodebug/lib/libz.so" needed by "libgsttag-1.0.so.0"; caused by library "/home/slomo/Projects/gstreamer/cerbero/dist/android-nodebug/lib/libz.so" not found
element plugin couldn't be loaded
No such element or plugin 'x264enc'
Using ndk-depends on libgsttag show that libz still has the rpath, when it shouldn't. I'm not sure if there are other libs with the same problem.
C:\Android\android-ndk-r10>ndk-depends.exe C:\Users\ck \Downloads\gstreamer-1.0-android-arm-1.4.1-release-runtime\lib\libgsttag-1.0.so.0
WARNING: Could not find library: /home/slomo/Projects/gstreamer/cerbero/dist/android-nodebug/lib/libz.so