Skip to content

Instantly share code, notes, and snippets.

@n0mad01
Last active November 16, 2015 13:39
Show Gist options
  • Save n0mad01/9f6a2aeebfb636566539 to your computer and use it in GitHub Desktop.
Save n0mad01/9f6a2aeebfb636566539 to your computer and use it in GitHub Desktop.
bitcoind with Berkeley DB setup on Ubuntu
https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md
cd /home/user/bitcoin
ls -la
drwxrwxr-x 12 user user 4096 Nov 16 14:10 bitcoin
drwxrwxr-x 6 user user 4096 May 10 2015 db4
BITCOIN_ROOT=$(pwd)
BDB_PREFIX="${BITCOIN_ROOT}/db4"
cd $BITCOIN_ROOT
./autogen.sh
./configure LDFLAGS="-L${BDB_PREFIX}/lib/" CPPFLAGS="-I${BDB_PREFIX}/include/"
make
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment