Compiling RPM-5.1.9 with external Berkley

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

We use Berkley DB 4.8 for some DB transactions. The DB utilities are already exported for Berkley DB 4.8. Berkley 4.8 is also used in our case to link with RPM 4.8.

However, we are planning to migrate to RPM 5.1.9. As part of this migration, I am able to compile RPM 5.1.9 externally with Berkley 4.8. I can also use the built rpm for queries etc.

The problem comes when I try to install a package with --nodeps and initialize an RPMDB. A snippet is pasted below:

[root@bgl-ng-install-vxr1 rpm-5.1.9]# ./rpm -ivh --nodeps --root=/tmp /tmp/cai-pkg-ncs6k-64.rp_lc-5.0.0-Default.x86_64.rpm

Preparing...                rpmdb: DB_ENV->add_data_dir: method not permitted after handle's open method

rpmdb: stat: /tmp/usr/local/rpm5/__db.Basenames: No such file or directory

rpmdb: Basenames: No such file or directory

error: cannot open Basenames(1117) index using db3 - No such file or directory (2)

rpm: rpmdb.c:3693: rpmdbFindFpList: Assertion `mi != ((void *)0)' failed.

Aborted (core dumped)


I am not sure what sort of changes would be needed to get this working.
I looked over the forum but failed to find any patches available for RPM 5.1.9 to support external Berkley.


Thanks and Regards,
Bishwajit Goswami

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux