赞
踩
- sudo rm -rf /usr/include/google/protobuf
- sudo rm -rf /usr/lib/libproto*
- sudo rm -rf /usr/bin/protoc
- sudo rm -rf /usr/local/include/google/protobuf
- sudo rm -rf /usr/local/bin/protoc
- sudo rm -rf /usr/local/lib/libproto*
- git clone -b v3.6.0 https://github.com/protocolbuffers/protobuf.git
- cd protobuf
- git submodule update --init --recursive
- cd protobuf
- ./autogen.sh
- ./configure
- make
- make check
- sudo make install
- sudo ldconfig
protoc --version
libprotoc 3.6.0
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。