Open shibo1802 opened 6 years ago
hikey is broken in Rocko and Master. @mrchapp is working on it.
Thanks, @fboudra
this issue is due to missing DT_SONAME entry in the precompiled mali shared library, actually someone should report this to mali team so they can add a proper soname during build before publishing.
OE shlib code checks for DT_NEEDED against a set of shlibs for deps however if thse shared libs do not have DT_SONAME then it does not create a rprovides for these sonames
Long story short you can workaround this by inserting a soname e.g. something like below will help your case
https://github.com/akuster/meta-odroid/blob/master/recipes-graphics/mali/mali-450_r6p1.bb#L29
I reported this to the team (along with some other issues I found doing the debian packaging). There was a suggestion that this lack of proper versioning may be deliberate, because the same binary pretends to be several different libraries with different soversions (libEGL.so.1 , libGLESv1_CM.so.1, libGLESv2.so.2, libOpenCL.so.1) so maybe it's not clear what DT_SONAME it should be using? The original reasoning may be lost in the mists of time.
This case is a good example of why it's a real-world problem. I'll feed that back.
I'm trying to build rpb-weston-image with https://github.com/96boards/oe-rpb-manifest.git master branch, but encounter many errors related to graphics libraries dependencies, following is the error log
But the libraries do exist:
Does anyone encounter the same issue or know how to fix it? Any suggestions would be appreciated.