1.报错信息:
configure: error: libdb_cxx headers missing
原因:没有安装库libdb++-dev
解决:
sudo apt-get install libdb++-dev
2.报错信息:
configure: error: Found Berkeley DB other than 4.8, required for portable wallets(--with-incompatible-bdb to ignore or --disable-wallet to disable walletfunctionality)
原因:意思是发现 Berkeldy DB 的版本高于 4.8,是在安装 Berkeley DB 的时候,命令下载安装的是最新版本
解决:
在 configure 的命令后面加上一个参数,忽略它即可:
./configure —with-incompatible-bdb