直接從github進行clone
注意要切換分支選擇對應的版本,下載子模塊,
git submodule update —init
小問題
protoc --version
报错: protoc: error while loading shared libraries: libprotoc.so.16: cannot open shared object file: No such file or directory
解决:sudo ldconfig
直接從github進行clone
注意要切換分支選擇對應的版本,下載子模塊,
git submodule update —init
小問題
protoc --version
报错: protoc: error while loading shared libraries: libprotoc.so.16: cannot open shared object file: No such file or directory
解决:sudo ldconfig