Installing dependencies like here
BerkeleyDB is required for the wallet.
Debian repository doesn’t contains libdb4.8. So need to get sources and compile it manually.
Get db4.8 source, compile and install:
1 2 3 4 5 6 |
wget http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz tar -xzvf db-4.8.30.NC.tar.gz cd db-4.8.30.NC/build_unix ../dist/configure --enable-cxx make make install |
Tell your system where to find db4.8
1 2 3 |
export BDB_INCLUDE_PATH="/usr/local/BerkeleyDB.4.8/include" export BDB_LIB_PATH="/usr/local/BerkeleyDB.4.8/lib" ln -s /usr/local/BerkeleyDB.4.8/lib/libdb-4.8.so /usr/lib/libdb-4.8.so |
Then move to bitcoin sources folder and compile it:
1 2 3 |
./configure CPPFLAGS="-I/usr/local/BerkeleyDB.4.8/include -O2" LDFLAGS="-L/usr/local/BerkeleyDB.4.8/lib" make make install |
Sources: