bitcoin core – set up Berkeley DB 4.8 on Linux?


I discovered an answer right here with:

sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get replace
sudo apt-get set up libdb4.8-dev libdb4.8++-dev

Additionally, this says:

The newer libdb ought to work on most coin daemons, the difficulty you would possibly discover is that the database recordsdata (pockets.dat particularly) is not suitable with all different methods in the event that they’re constructed on an older libdb.

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

It will break binary pockets compatibility with the distributed executables, that are based mostly on BerkeleyDB 4.8.

So, having a more moderen BerkeleyDB is just an issue, if you wish to use your pockets.dat on one other system and this different system occurs to make use of BerkeleyDB 4.8 – which is the case for the bitcoind executables that are downloadable from the mission itself.

However in case you solely use the pockets by yourself system or, in case you migrate it, you employ a system with the newer BerkeleyDB additionally, then there ought to be no issues.

Supply hyperlink

Leave a reply