From Bitcoin Core's test directory (bitcoin/src/test
), the executable test_bitcoin
is supposed to run the unit tests. When I run test_bitcoin
, however, I get:
replication requires locking support
Test setup error: std::runtime_error: CDBEnv::MakeMock : Error 22 opening database environment.
How can I run test_bitcoin
? I installed Bitcoin from source.
Also:
I ran configure
using the --with-incompatible-bdb
flag.
build.sh
I get:dpkg: regarding .../libdb4.8-dev_4.8.24-1ubuntu1_i386.deb containing libdb4.8-dev: libdb5.3-dev conflicts with libdb4.8-dev libdb4.8-dev (version 4.8.24-1ubuntu1) is to be installed.