After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 748993 - Used cerbero build gstreamer on android, I found libgsttag-1.0.so contain libz.so with rpath
Used cerbero build gstreamer on android, I found libgsttag-1.0.so contain lib...
Status: RESOLVED DUPLICATE of bug 737429
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
1.x
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-05-06 05:52 UTC by Bill Qin
Modified: 2015-05-06 07:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bill Qin 2015-05-06 05:52:05 UTC
1. I used cerbero to build gst-plugins-base-1.0, and copy the dynamic .so to android to execute the command "./gst-inspect-1.0" .
But found error :
(gst-plugin-scanner:3238): GStreamer-WARNING **: Failed to load plugin '/data/android_arm/lib/libgstaudio-1.0.so': dlopen failed: could not load library "libgsttag-1.0.so" needed by "libgstaudio-1.0.so"; caused by could not load library "/home/qys/cerbero/dist/android_arm/lib/libz.so" needed by "libgsttag-1.0.so"; caused by library "/home/qys/cerbero/dist/android_arm/lib/libz.so" not found
 
(gst-plugin-scanner:3238): GStreamer-WARNING **: Failed to load plugin '/data/android_arm/lib/libgstpbutils-1.0.so': dlopen failed: could not load library "libgstaudio-1.0.so" needed by "libgstpbutils-1.0.so"; caused by could not load library "libgsttag-1.0.so" needed by "libgstaudio-1.0.so"; caused by could not load library "/home/qys/cerbero/dist/android_arm/lib/libz.so" needed by "libgsttag-1.0.so"; caused by library "/home/qys/cerbero/dist/android_arm/lib/libz.so" not found.

2. I used ndk-depends command to see libgsttag-1.0.so, found that:
qys@his-Lenovo:~/cerbero/dist/android_arm/lib$ ndk-depends libgsttag-1.0.so
WARNING: Could not find library: /home/qys/cerbero/dist/android_arm/lib/libz.so
libsttag-1.0.so
libgstbase-1.0.so
libgtreamer-1.0.so
libm.so
libgobect-2.0.so
libgmodule-2.0.so
libglib-2.0.so
libintl.so
libiconv.so.2
libffi.so
libdl.so
libc.so
/home/qys/cerbero/dist/android_arm/lib/libz.so 

I don't known why libz.so is rpath?
Thank you very much.
Comment 1 Sebastian Dröge (slomo) 2015-05-06 07:51:31 UTC
For using GStreamer on Android, you're not supposed to use the shared libraries but the static libraries build system that is provided with the binaries.

*** This bug has been marked as a duplicate of bug 737429 ***