Skip to content

Instantly share code, notes, and snippets.

@MrChrisJ
Created February 13, 2016 14:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MrChrisJ/2161d0860464ccbf105b to your computer and use it in GitHub Desktop.
Save MrChrisJ/2161d0860464ccbf105b to your computer and use it in GitHub Desktop.
Error installing Bitcoin Core 0.12 on ROKOS v4
make[3]: Leaving directory '/home/pi/bin/bitcoin/src/secp256k1'
CXXLD libbitcoinconsensus.la
CXX bitcoind-bitcoind.o
CXX libbitcoin_server_a-addrman.o
CXX libbitcoin_server_a-alert.o
CXX libbitcoin_server_a-bloom.o
CXX libbitcoin_server_a-chain.o
CXX libbitcoin_server_a-checkpoints.o
CXX libbitcoin_server_a-httprpc.o
CXX libbitcoin_server_a-httpserver.o
CXX libbitcoin_server_a-init.o
In file included from init.cpp:39:0:
wallet/db.h:21:20: fatal error: db_cxx.h: No such file or directory
#include <db_cxx.h>
^
compilation terminated.
Makefile:3771: recipe for target 'libbitcoin_server_a-init.o' failed
make[2]: *** [libbitcoin_server_a-init.o] Error 1
make[2]: Leaving directory '/home/pi/bin/bitcoin/src'
Makefile:6904: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/home/pi/bin/bitcoin/src'
Makefile:641: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
@oktoshi
Copy link

oktoshi commented Feb 13, 2016

Seems we are missing the DB Link commands, try this before compilation:

export CPATH="/usr/local/BerkeleyDB.4.8/include" (we link the db4.8 to the coming compilation, required each time, link live only for the session)

export LIBRARY_PATH="/usr/local/BerkeleyDB.4.8/lib" (we link the db4.8 to the coming compilation, required each time, link live only for the session)

like on this small guide: https://bitcointalk.org/index.php?topic=1312616.msg13865251#msg13865251

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment