下载解压

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

相关文章:

  • 2021-09-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-18
  • 2022-12-23
  • 2021-07-16
  • 2022-01-19
  • 2022-01-04
相关资源
相似解决方案