添加 -lpthread
CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/tools/boost/includeexport CPLUS_INCLUDE_PATH
LIBRARY_PATH=$LIBRARY_PATH:/tools/boost/libexport LIBRARY_PATH
-I(大写i)和-L选项添加到/etc/profile
-l(小写L)编译的时候指定 比如:-lboost_thread