requires libc.so.6(GLIBC_2.4), but no providers found in RDEPENDS_MediaLib-dev? [file-rdeps]

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

requires libc.so.6(GLIBC_2.4), but no providers found in RDEPENDS_MediaLib-dev? [file-rdeps]

10,703 次查看
ponguru_s
Contributor III

ERROR: MediaLib-0.1-r0 do_package_qa: QA Issue: -dev package contains non-symlink .so: MediaLib-dev path 'work/cortexa9hf-neon-poky-linux-gnueabi/MediaLib/0.1-r0/packages-split/MediaLib-dev/usr/lib/libMediaLibrary.so' [dev-elf]
WARNING: MediaLib-0.1-r0 do_package_qa: QA Issue: /usr/lib/libMediaLibrary.so contained in package MediaLib-dev requires libc.so.6(GLIBC_2.4), but no providers found in RDEPENDS_MediaLib-dev? [file-rdeps]
ERROR: MediaLib-0.1-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
ERROR: MediaLib-0.1-r0 do_package_qa: Function failed: do_package_qa
ERROR: Logfile of failure stored in: /home/user1/AGL_BUILD/fsl-arm-yocto-bsp/<my_build_dir>/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/MediaLib/0.1-r0/temp/log.do_package_qa.24842
ERROR: Task 9 (/home/user1/AGL_BUILD/fsl-arm-yocto-bsp/sources/meta-sample/recipes-mw/medialib/MediaLib_0.1.bb, do_package_qa) failed with exit code '1'
NOTE: Tasks Summary: Attempted 364 tasks of which 363 didn't need to be rerun and 1 failed.

MediaLib is the dynamic shared object created based upon my own requirements.

This has been the error I'm facing and unable to get any references to resolve this issue. Please help me with this.

标签 (2)
标记 (3)
0 项奖励
5 回复数

3,645 次查看
el14
Contributor II

Renaming the bb file without caps ,underscore etc have solved the same issue for me!

3,047 次查看
Jackie_Zhou
Contributor II
Geting rid of all caps helps slove the problems, Thanks!
0 项奖励

6,180 次查看
tedwu
Contributor I

I also have the same problem.  It shows as follows.

WARNING: recordingAgent-3-r0 do_package_qa: QA Issue: /usr/bin/recordingAgent contained in package recordingAgent requires libc.so.6(GLIBC_2.4), but no providers found in RDEPENDS_recordingAgent? [file-rdeps]

But the library of libc.so.6 is at the folder of tmp/sysroots/imx7dsabresd/lib.

Can anyone tell me how to solve it?

0 项奖励

6,180 次查看
ponguru_s
Contributor III

SUMMARY = "Media Library"
SECTION = "examples"
LICENSE = "MIT"

BB_STRICT_CHECKSUM = "0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

SRC_URI = "your_source_files"

S = "${WORKDIR}"
VER = "1"
HASHSTYLE = "gnu"

do_compile () {
${CC} -fPIC -shared -Wl,--hash-style=${HASHSTYLE} -o libMediaLibrary.so.${VER} -Wl,-soname,libMediaLibrary.so.${VER} source_files 
}

do_install() {
install -Dm755 ${B}/libMediaLibrary.so.${VER} ${D}${libdir}/libMediaLibrary.so.${VER}
ln -sf libMediaLibrary.so.${VER} ${D}${libdir}/libMediaLibrary.so
}

You can compare your code with the code mentioned above in the respective recipe file and try running the bitbake. The bold-italic terms are to be modified according to your library and source files.

The error is because no soft link is available.

Please let me know the status. :smileyhappy:

6,180 次查看
joanxie
NXP TechSupport
NXP TechSupport

maybe you can downlaod the source package,

<RPM resource libc.so.6 >.

0 项奖励