linux 下安装boost
来源:互联网 发布:网络银行有哪些 编辑:程序博客网 时间:2024/06/11 18:40
在这里以boost_1_50_0为例
1.解压boost_1_50_0.tar.gz
tar -xzvf 文件存放目录/boost_1_39_0.tar.bz2
2. 进入解压后的文件夹
cd XXXX/boost_1_50_0
3.将boost安装配置在/boost/prefix目录下
./bootstrap.sh --prefix=/boost/prefix --includedir=/boost/include --libdir=/boost/lib
/boost/prefix,/boost/include,/boost/lib为我自己建的目录,boost装在自己建的目录下便于管理。其中--prefix表示程序安装在哪个目录,--includedir表示头文件存放的目录,--libdir表示库文件的目录。
4.安装boost
./bjam install
5.由于库文件没有安装在默认目录下,所以必须显示的表明。
我们可以在/etc/ld.so.conf中修改。
vi /etc/ld.so.conf
添加/boost/lib即可。
然后执行ldconfig更新ld.so.cache文件。
zz from http://blog.csdn.net/x1521/article/details/7738199
- linux下安装boost
- Linux下安装boost
- linux 下安装boost
- linux下安装boost
- linux 下安装boost
- linux下安装boost
- linux下安装boost
- Linux 下安装Boost
- linux下安装boost
- linux下安装boost
- linux下安装boost
- linux下安装boost
- linux下安装boost
- linux下安装boost
- linux下安装boost
- linux下安装boost
- linux下安装boost
- linux下安装boost
- servlet 总结
- Tomcat的配置
- HttpServletRequest
- DTD约束语法细节
- jsp的九九乘法表
- linux 下安装boost
- 如何完全卸载ORACLE
- HTTP
- 对cookie技术、session技术进行小结。
- socik
- jsp乱码
- Oracle exp 数据备份
- 多线程的开销与好处
- 数据库的分页练习