[Bug 737429] Android runtime contains libs with rpath

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Feb 9 13:55:02 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=737429

George Kiagiadakis <gkiagia at tolabaki.gr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gkiagia at tolabaki.gr

--- Comment #24 from George Kiagiadakis <gkiagia at tolabaki.gr> ---
I just ran into the same problem while cross-compiling for an arm platform and
it looks like the problem originates in that libz.so is being compiled without
a SONAME in its headers.

This is a regression introduced by 9afc668 - zlib: Use host if provided (see
https://bugzilla.gnome.org/show_bug.cgi?id=768493). Apparently, the argument to
--uname is used in zlib's configure to figure out whether the -soname argument
should be passed to the linker or not:

....
 case "$uname" in
  Linux* | linux* | GNU | GNU/* | solaris*)
        LDSHARED=${LDSHARED-"$cc -shared
-Wl,-soname,libz.so.1,--version-script,zlib.map"} ;;
....

and with uname being "arm-linux-gnueabihf" in my case, this code is never
executed, so zlib is being compiled without a SONAME and this is why the linker
generates dependencies with an absolute path.

RPATH is not actually an issue.

-- 
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