Wind River Support Network

HomeDefectsLIN5-7147
Fixed

LIN5-7147 : wrlinux 5.0.1. - multiple libGL.so.1.2 libraries

Created: Nov 29, 2013    Updated: Dec 19, 2017
Resolved Date: Dec 17, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.11
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: Userspace

Description

in a wrlinux 5 project built around fsl_imx6 BSP, if we use the gpu-viv-bin-mx6q template and add the mesa-dri package, two versions of the libGL.so.1.2 library get compiled:

rpm -qpl ./build/gpu-viv-bin-mx6q-4.0.0-r0/deploy-rpms/armv7a_vfp_neon/gpu-viv-bin-mx6q-4.0.0-r0.armv7a_vfp_neon.rpm | grep libGL.so
error: cannot open Name index using db3 - No such file or directory (2)
warning: ./build/gpu-viv-bin-mx6q-4.0.0-r0/deploy-rpms/armv7a_vfp_neon/gpu-viv-bin-mx6q-4.0.0-r0.armv7a_vfp_neon.rpm: Header V4 DSA signature: NOKEY, key ID 8b3d0f1a
/usr/lib/libGL.so
/usr/lib/libGL.so.1
/usr/lib/libGL.so.1.2

rpm -qpl ./build/mesa-dri-2_7.11-r14.1/deploy-rpms/armv7a_vfp_neon/libgl1-7.11-r14.1.armv7a_vfp_neon.rpm | grep libGL.so
error: cannot open Name index using db3 - No such file or directory (2)
warning: ./build/mesa-dri-2_7.11-r14.1/deploy-rpms/armv7a_vfp_neon/libgl1-7.11-r14.1.armv7a_vfp_neon.rpm: Header V4 DSA signature: NOKEY, key ID 75821912
/usr/lib/libGL.so.1
/usr/lib/libGL.so.1.2

In the final filesystem, the libGL.so.1.2 library provided by the gpu-viv-bin-mx6q package is being chosen.

What determines which library gets installed in the final filesystem?
Should there not be a warning or an error that multiple packages provide the same library?

Steps to Reproduce

1. configure & build a wrlinux 5.0.1 project based on:

--enable-board=fsl-imx6 --enable-kernel=standard --enable-rootfs=glibc_small --with-template=feature/gpu-viv-bin-mx6q --enable-prelink=no --enable-ccache=yes --enable-jobs=9 --enable-parallel-pkgbuilds=9 --with-rcpl-version=0008 && make -C build mesa-dri.addpkg && make fs

2. check the built RPMs and the contents of the export/dist/usr/lib directory

Other Downloads


Live chat
Online