On Sun, 2021-07-25 at 20:47 +0800, [email protected] wrote:
> From: Zqiang <[email protected]>
> 
> There is a ${RECIPE_SYSROOT}/usr/lib64/../lib64/librt.so in
> Libs.private
> which should be -lrt.

This sounds similar to what this change was trying to fix:

https://git.yoctoproject.org/cgit/cgit.cgi/meta-dpdk/commit/?id=fb2dd96868a3eb51673e4a1e122e0b375aa1832f

Are these different problems? Do you have this change and are still
seeing the issue?

Thanks,

Anuj

> 
> Signed-off-by: Zqiang <[email protected]>
> ---
>  recipes-extended/dpdk/dpdk_20.11.1.bb | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/recipes-extended/dpdk/dpdk_20.11.1.bb b/recipes-
> extended/dpdk/dpdk_20.11.1.bb
> index d96fd8b..0bb27fa 100644
> --- a/recipes-extended/dpdk/dpdk_20.11.1.bb
> +++ b/recipes-extended/dpdk/dpdk_20.11.1.bb
> @@ -43,6 +43,9 @@ do_install_append(){
>          fi
>      done
>  
> +    # There is a ${RECIPE_SYSROOT}/usr/lib64/../lib64/librt.so in
> Libs.private
> +    # which should be -lrt.
> +    sed -i 's#${RECIPE_SYSROOT}[^ ]*/librt.so#-lrt#'
> ${D}/${libdir}/pkgconfig/libdpdk.pc
>  }
>  
>  PACKAGES =+ "${PN}-examples ${PN}-tools"

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7167): 
https://lists.yoctoproject.org/g/meta-intel/message/7167
Mute This Topic: https://lists.yoctoproject.org/mt/84436517/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to