编译问题

问题:
configure error: Could not link against boost_system
./configure --with-incompatible-bdb
解决:
apt-get install pkg-config
apt-get install autoconf
apt-get install libdb++-dev
apt-get install libdb-dev
apt-get install libboost-all-dev
apt-get install libssl-dev
apt-get install build-essential
apt-get install libevent-dev

apt-get install pkg-config autoconf libdb++-dev libdb-dev libboost-all-dev libssl-dev build-essential libevent-dev

apt-get remove libdb4.8
apt-get remove libdb4.8++

apt-get install libdb5.3++
apt-get install libdb5.3

boost的版本问题
apt-get autoremove libboost1.54-dev
apt-cache search boost

你可能感兴趣的:(编译问题)