Last active
November 16, 2015 13:39
-
-
Save n0mad01/9f6a2aeebfb636566539 to your computer and use it in GitHub Desktop.
bitcoind with Berkeley DB setup on Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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