This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-DRA7X: package xxx requires libGLESv2.so, but no providers found in

Part Number: PROCESSOR-SDK-DRA7X

I use yocto in PROCESSOR-SDK-DRA7X to generate filesystem. After I add a third-party lib as a recipe, It reports error like this:

ERROR: libxxx-1.0.0-r0 do_package_qa: QA Issue: /usr/lib/libxxx.so contained in package libxxx requires libGLESv2.so, but no providers found in RDEPENDS_libxxx? [file-rdeps]
ERROR: libxxx-1.0.0-r0 do_package_qa: QA Issue: /usr/lib/libxxx.so contained in package libxxx requires libEGL.so, but no providers found in RDEPENDS_libxxx? [file-rdeps]
ERROR: libxxx-1.0.0-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.

Here is the bb file for the lib:

DESCRIPTION = "test for libxxx"
LICENSE = "CLOSED"

SRC_URI = "file://libxxx.so"

RDEPENDS_${PN} += " opencv libgles2 "

S = "${WORKDIR}"

do_install () {
install -d ${D}${libdir}
install -m 0755 ${S}/libxxx.so ${D}${libdir}
}

PACKAGES = "${PN}"
FILES_${PN} = "/usr/lib/libxxx.so"

I'm sure the package "ti-sgx-ddk-um" is include in the image,

and I alse changed the RDEPENDS_${PN} to "opencv ti-sgx-ddk-um",it still does not work.

  • Hi Wenjiang,

    I can provide high level instructions.

    The way I look at your problem is that you have a certain library/application that is dependent on the libGLESv2 and this is similar to a couple of examples that we have in the SDK already.

    Please take a look at these two recipes:

    meta-arago/meta-arago-extras/recipes-graphics/img-pvr-sdk/img-pvr-sdk_3.3.2.bb:RDEPENDS_${PN} = "ti-sgx-ddk-um"
    meta-arago/meta-arago-extras/recipes-graphics/omapdrmtest/omapdrmtest_1.0.0.bb:DEPENDS = "ffmpeg libdce libdrm virtual/libgbm ti-sgx-ddk-um wayland"

    And you can refer to these and make your changes.

    Also note that the libGLESv2.so is a softlink to the actual binary with a different name. Refer to the ti-sgx-ddk-um repo for details.

    Hope that helps.

    Regards

    Karthik

  • Hi Karthik,

    Thanks for your answer, but it doesn't work.

    As I mentioned in my question, I have tryed to add "ti-sgx-ddk-um" to RDEPENDS_${PN}.

    I did not  use DEPENDS in this recipe,  so I add it, it still does not work. 

  • Hi Wenjiang,

    Ok, to be honest, without further details of the application and the ability to replicate the issue, I'm not sure how I can help further.

    Have you been able to make progress? If not, please try to provide some additional details.

    Regards

    Karthik