[oe] Qt 5.4.1 loading libGLESv2.so directly and ignoring soname

Khem Raj raj.khem at gmail.com
Tue May 12 05:26:59 UTC 2015


On Mon, May 11, 2015 at 8:50 PM, Andre McCurdy <armccurdy at gmail.com> wrote:
> +
> +# ------------------------------------------------------------------------------
> +# Move the /usr/lib/libGLESv2.so symlink into the runtime package as workaround
> +# for issues seem with Qt 5.4.1, which seems to try to dlopen libGLESv2.so using
> +# a hardcoded filename (instead of relying on the dynamic linker and therefore
> +# loading libGLESv2.so via it's soname).
> +# ------------------------------------------------------------------------------
> +FILES_libgles2-mesa = "${libdir}/libGLESv2.so.* ${libdir}/libGLESv2.so"
> +FILES_SOLIBSDEV_libgles2-mesa = ""
> +INSANE_SKIP_libgles2-mesa += "dev-so"
> +

Yes they now load it as plugin for ES3 compiled libraries to be able
to run on ES2 only systems

you could just empty out

SOLIBSDEV = ""

and set

SOLIBS = ".so*"

I see that dev-so QA check hardcodes .so check it would be nicer if it
checked for SOLIBDEV extentions instead
may be you should file a bug for that or even better send a fix



More information about the Openembedded-devel mailing list