Bitcoin

Installation – What specific packages do I need to install to create a legacy wallet?

Assuming you’re building on Linux, you’ll need Berkeley DB 4.8 to support legacy wallets. You can find instructions in that section along with the location of useful installation scripts. There is also a comprehensive guide on how to compile Bitcoin for testing by Jon Atack that provides some details that may be helpful.

At the end of the mentioned installation script instructions are printed on how to configure bitcoind compilation. Look for things like:

db4 build complete.

When compiling bitcoind, run `./configure` in the following way:

  export BDB_PREFIX='<SOME-PATH>/db4'
  ./configure BDB_LIBS="-L$BDB_PREFIX/lib -ldb_cxx-4.8" BDB_CFLAGS="-I$BDB_PREFIX/include" ...

After installing BDB, use these instructions to configure your installation. run:

  • that much export BDB_PREFIX='<SOME-PATH>/db4' In the final output of the script:
  • ./autogen.sh
  • Also in using script output: ./configure BDB_LIBS="-L$BDB_PREFIX/lib -ldb_cxx-4.8" BDB_CFLAGS="-I$BDB_PREFIX/include" ...Add any other parameters you want
  • Finally called, make or make install Depending on your intended outcome

Related Articles

Back to top button