Wind River Support Network

HomeDefectsLIN1021-751
Fixed

LIN1021-751 : perl: incorrect libpth

Created: Jul 5, 2021    Updated: Aug 24, 2021
Resolved Date: Jul 20, 2021
Found In Version: 10.21.20.1
Fix Version: 10.21.20.3
Severity: Standard
Applicable for: Wind River Linux LTS 21
Component/s: Userspace

Description

1, setup.sh --machine qemux86-64 --dl-layers --distro wrlinux
2, bitbake wrlinux-image-std
3, boot up the target 
# perl -V:libpth
libpth='/usr/lib /lib';

It should be
# perl -V:libpth
libpth='/usr/lib64 /lib64';

Workaround

Put the following content in the local.conf:

PACKAGECONFIG_CONFARGS_class-target += " \
 -Dlibpth='${libdir} ${base_libdir}' \
 -Dglibpth='${libdir} ${base_libdir}' \
"

Steps to Reproduce

Builds the image:

bitbake wrlinux-image-small
runqemu qemux86-64
root@qemux86-64:~# perl -V:libpth

 

 
Live chat
Online