1

The Unix build notes do not show how to install version 4.8 apart from saying

BerkeleyDB is required for the wallet. Ubuntu and Debian have their own libdb-dev and libdb++-dev packages, but these will install BerkeleyDB 5.1 or later. This will break binary wallet compatibility with the distributed executables, which are based on BerkeleyDB 4.8.If you do not care about wallet compatibility, pass --with-incompatible-bdb to configure. Otherwise, you can build from self-compiled depends (see above).

The referenced README.md from the quoted

Now, you can either build from self-compiled depends or install the required dependencies:

does not discuss BerkeleyDB 4.8.

I know there is ./contrib/install_db4.sh in the source for installing BerkeleyDB 4.8 but it abords on my Ubuntu with curl: (7) Failed to connect to git.savannah.gnu.org port 443: No route to host.

0

I found a solution here with:

sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev

Also, this says:

The newer libdb should work on most coin daemons, the issue you might find is that the database files (wallet.dat in particular) isn't compatible with all other systems if they're built on an older libdb.

That corresponds to the following line from the bitcoin core github:

This will break binary wallet compatibility with the distributed executables, which are based on BerkeleyDB 4.8.

So, having a newer BerkeleyDB is only a problem, if you want to use your wallet.dat on another system and this other system happens to use BerkeleyDB 4.8 - which is the case for the bitcoind executables which are downloadable from the project itself.

But if you only use the wallet on your own system or, if you migrate it, you use a system with the newer BerkeleyDB also, then there should be no problems.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.