当前位置: 首页 > Linux

protobuf版本冲突

时间:2023-04-06 05:45:58 Linux

#######addprotobuflibpath#########(动态库搜索路径)程序加载运行寻找动态链接库时,指定非系统defaultpathPathexportLD_LIBRARY_PATH=/home/user/local/protobuf/3.17.1/lib/:$LD_LIBRARY_PATH#(静态库搜索路径)指定程序编译时查找动态链接库时查找共享库的路径exportLIBRARY_PATH=/home/user/local/protobuf/3.17.1/lib/:$LIBRARY_PATH#执行程序搜索路径exportPATH=/home/user/local/protobuf/3.17.1/bin/:$PATH#c程序头文件搜索pathexportC_INCLUDE_PATH=$C_INCLUDE_PATH:/home/user/local/protobuf/3.17.1/include/google/protobuf/#c++程序头文件搜索路径exportCPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/home/user/local/protobuf/3.17.1/include/google/protobuf/#pkg-config路径导出PKG_CONFIG_PATH=/home/user/local/protobuf/3.17.1/lib/pkgconfig/