[Bug 737429] Android runtime contains libs with rpath
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Feb 23 18:41:09 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=737429
Andrew Esh <andrew.c.esh at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrew.c.esh at gmail.com
--- Comment #6 from Andrew Esh <andrew.c.esh at gmail.com> ---
I ran into this as well. Upgrading from the gstreamer-sdk to the gstreamer
version of cerbero fixed all the other rpath problems I was having except libz.
The Android linker will emit a message such as "'libgiognutls.so' library has
invalid DT_NEEDED entry
'/home/andrewes/cerbero/dist/android_armv7/lib/libz.so'", but it appears to
find and use the library anyway.
Code which emits the linker message and corrects the path can be seen at the
bottom of: https://android.googlesource.com/platform/bionic/+/c3351ea%5E!/
I got rid of the warning message by hand-editing the .so files that have the
rpath entry by overwriting the first bytes of the path with "libz.so\0".
Note that the NDK also provides a version of libz.so, which may be what is
causing the build to try to specify a "private" version within the cerbero
build. We need control over that path, since it is obviously wrong for Android.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list