Fixed
Created: Aug 11, 2019
Updated: Aug 29, 2019
Resolved Date: Aug 14, 2019
Found In Version: 10.18.44.9
Fix Version: 10.18.44.10
Severity: Standard
Applicable for: Wind River Linux LTS 18
Component/s: Userspace
While running "db_verify" on DB file for verification we are getting below message,
"*db_verify: BDB0571 library build did not include support for database verification*
*BDB5105 Verification of /var/lib/rpm/Packages failed.*"
We have already included db-bin into rootfs in order to use DB utilities, do let us know what else is needed to make this work.
NA
RCPL 19
-> Setup command :
--machines qemux86-64 --dl-layers --template feature/package-management
-> Source Env:
. ./environment-setup-x86_64-wrlinuxsdk-linux
. ./oe-init-build-env
-> Add Berkeley DB utilities into rootfs using "db-bin" sub package
cat conf/local.conf | grep db-bin
IMAGE_INSTALL_append = " db-bin"
-> Build target :
bitbake wrlinux-image-glibc-std
-> Run QEMU image
runqemu qemux86-64 nographic
root@qemux86-64:~# uname -a
Linux qemux86-64 4.8.28-WR9.0.0.19_standard #1 SMP PREEMPT Mon Jun 24 14:08:11 CST 2019 x86_64 x86_64 x86_64 GNU/Linux
root@qemux86-64:~# rpm -q rpm
rpm-5.4.16-r0.core2_64
root@qemux86-64:~# rpm -q db
db-6.0.35-r1.core2_64
root@qemux86-64:~# rpm -q db-bin
db-bin-6.0.35-r1.core2_64
root@qemux86-64:~# rpm -q db-dev
db-dev-6.0.35-r1.core2_64
root@qemux86-64:~# *db_verify /var/lib/rpm/Packages*
{color:#FF0000} *db_verify: BDB0571 library build did not include support for database verification*{color}
{color:#FF0000} *BDB5105 Verification of /var/lib/rpm/Packages failed.*{color}
root@qemux86-64:~#
root@qemux86-64:~# db_verify -V
Berkeley DB 6.0.35: (February 26, 2015)
root@qemux86-64:~#