When I starting make
I always get the same error. I think maybe it's have anything to do with Berkeley DB, but I'm not sure. I followed in this guide - https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md#berkeley-db
Making all in src
make[1]: Entering directory '/home/insaf/bitcoin/src'
make[2]: Entering directory '/home/insaf/bitcoin/src'
make[3]: Entering directory '/home/insaf/bitcoin'
make[3]: Leaving directory '/home/insaf/bitcoin'
CXXLD bitcoind
/usr/bin/ld: cannot find -ldb_cxx-4.8
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:5953: bitcoind] Error 1
make[2]: Leaving directory '/home/insaf/bitcoin/src'
make[1]: *** [Makefile:16272: all-recursive] Error 1
make[1]: Leaving directory '/home/insaf/bitcoin/src'
make: *** [Makefile:825: all-recursive] Error 1
output, when I type ./configure
configure: WARNING: LRELEASE not found; bitcoin-qt frontend will not be built
checking whether to build Bitcoin Core GUI... no
checking for Berkeley DB C++ headers... default
configure: error: Found Berkeley DB other than 4.8, required for portable BDB wallets (--with-incompatible-bdb to ignore or --without-bdb to disable BDB wallet support)
And yeah, I searched how I can install ldb_cxx, but I don't find it. When I launch ./install_db64.sh it gives next output:
db4 build complete.
When compiling bitcoind, run `./configure` in the following way:
export BDB_PREFIX='<PATH-TO>/db4'
./configure BDB_LIBS="-L${BDB_PREFIX}/lib -ldb_cxx-4.8" BDB_CFLAGS="-I${BDB_PREFIX}/include" ...
And I also did sudo pacman -S git base-devel
And it:
./autogen.sh export BDB_PREFIX='/home/insaf/bitcoin/db4' ✔ 5s
./configure BDB_LIBS="-L${BDB_PREFIX}/lib -ldb_cxx-4.8" BDB_CFLAGS="-I${BDB_PREFIX}/include"