https://bugzilla.redhat.com/show_bug.cgi?id=1834731
--- Comment #121 from Warren Togami <wtogami(a)gmail.com> ---
Additional Sources to include in the .src.rpm
=============================================
depends/sources/db-4.8.30.NC.tar.gz
depends/sources/download-stamps/.stamp_fetched-bdb-db-4.8.30.NC.tar.gz.hash
Build (tested on Fedora 34 x86_64)
==================================
# cd depends
# make bdb
Installing DB include files:
/home/rpmdev/rpmbuild/BUILD/bitcoin-22.0/depends/work/staging/x86_64-pc-linux-gnu/bdb/4.8.30-09103229d28/home/rpmdev/rpmbuild/BUILD/bitcoin-22.0/depends/x86_64-pc-linux-gnu/include
...
make[1]: Leaving directory
'/home/rpmdev/rpmbuild/BUILD/bitcoin-22.0/depends/work/build/x86_64-pc-linux-gnu/bdb/4.8.30-09103229d28/build_unix'
Postprocessing bdb...
Caching bdb...
Newly Created Files
===================
depends/built/x86_64-pc-linux-gnu/bdb/bdb-4.8.30-09103229d28.tar.gz
depends/built/x86_64-pc-linux-gnu/bdb/bdb-4.8.30-09103229d28.tar.gz.hash
Contents of that tarball
========================
./
./include/
./include/db_cxx.h
./include/db.h
./lib/
./lib/libdb-4.8.a
./lib/libdb.a
./lib/libdb_cxx-4.8.a
./lib/libdb_cxx.a
./.stamp_postprocessed
How to link against it
======================
https://github.com/bitcoin/bitcoin/blob/master/contrib/install_db4.sh
Some clues in here. Seems to be:
* Unpack the above tarball somewhere.
* Define BDB_PREFIX using absolute pathname and add certain ./configure flags.
At the moment the only thing I'm not certain about is how to handle the
different arch-specific pathnames seen above.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=1834731