Description of problem:
I am trying to get rpm 4.3.1 running on FC1. The build (based on FC2'
src.rpm) completes OK, but upgrading to the built rpm gives:
# rpm -q rpm
rpmdb: Berkeley DB library configured to support only DB_PRIVATE
error: db4 error(22) from dbenv->open: Invalid argument
error: cannot open Packages index using db3 - Invalid argument (22)
error: cannot open Packages database in /var/lib/rpm
package rpm is not installed
# LD_ASSUME_KERNEL=2.4.19 rpm -q rpm
I tried with and without posixmutexes.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.rebuild src.rpm from FC2
2.install new rpm rpms
3.Try to use rpm in any operation
You are encountering the O_DIRECT failure opening
Which means you have misbuilt rpm somehow. db-4.2.52
disables O_DIRECT if built in the correct environment,
see the configure spew.