在
/etc/ld.so.conf.d/
下,touch 一个新的文件
boost.conf
/SDK/boost1640/lib/release
/SDK/boost1640/lib/debug
ldconfig
本文介绍如何在Linux系统中通过编辑ld.so.conf.d下的boost.conf文件来添加Boost库的release和debug路径,并使用ldconfig命令更新链接器缓存。
在
/etc/ld.so.conf.d/
下,touch 一个新的文件
boost.conf
/SDK/boost1640/lib/release
/SDK/boost1640/lib/debug
ldconfig
974

被折叠的 条评论
为什么被折叠?