GNOME Bugzilla – Bug 749776
Conflicting symbols in gettext and gnutls giving issues when building gst-player
Last modified: 2018-02-21 16:01:43 UTC
Created attachment 303868 [details] [review] Patch to apply to avoid symbols redefinition error I have been confronted against an issue when trying to generate the libgstreamer_android.so from gst-player. Obviously this may not be needed to be fixed as it is in regard to an external package, but it may be also causing issues from other applications when using gstreamer SDK custom build. The issue is that all the functions from xsize used in gettext and gnutls are common and may cause the linker to fail as it will give an error due to duplicate symbols defined in these two components. Please find the changes I made (defined the functions with hidden visibility) to apply to cerbero to fix the issue.
This is related to bug #749423. Just "hiding" the symbols is no solution though, we need to rename them. Otherwise static linking will probably still cause problems. There are also some more duplicated symbols currently, see the other bug.
Fixed in #749423