Boost下载安装
下载解压
wget https://dl.bintray.com/boostorg/release/1.72.0/source/boost_1_72_0.tar.gz
tar -zxvf boost_1_72_0.tar.gz
安装
cd boost_1_72_0/
sh ./bootstrap.sh
./b2
sudo ./b2 install --prefix=/usr/local
问题
1.如果出现
error while loading shared libraries: libboost_system.so.1.72.0: cannot open shared object file: No such file or directory
则执行
sudo ldconfig