共计 621 个字符,预计需要花费 2 分钟才能阅读完成。
####### add protobuf lib path ########
#(动静库搜寻门路) 程序加载运行期间查找动态链接库时指定除了零碎默认门路之外的其余门路
export LD_LIBRARY_PATH=/home/user/local/protobuf/3.17.1/lib/:$LD_LIBRARY_PATH
#(动态库搜寻门路) 程序编译期间查找动态链接库时指定查找共享库的门路
export LIBRARY_PATH=/home/user/local/protobuf/3.17.1/lib/:$LIBRARY_PATH
#执行程序搜寻门路
export PATH=/home/user/local/protobuf/3.17.1/bin/:$PATH
#c 程序头文件搜寻门路
export C_INCLUDE_PATH=$C_INCLUDE_PATH:/home/user/local/protobuf/3.17.1/include/google/protobuf/
#c++ 程序头文件搜寻门路
export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/home/user/local/protobuf/3.17.1/include/google/protobuf/
#pkg-config 门路
export PKG_CONFIG_PATH=/home/user/local/protobuf/3.17.1/lib/pkgconfig/
正文完