在编译tez的时候碰到这个问题:
ubuntu19.10的系统,apt 默认安装3.6.10的protoc
wget https://github.com/google/protobuf/releases/download/v2.5.0/protobuf-2.5.0.tar.gz
tar -xzf protobuf-2.5.0.tar.gz
cd protobuf-2.5.0/
./autogen.sh
./configure
make
sudo make install
sudo subl /etc/ld.so.conf改为如下:
include /etc/ld.so.conf.d/*.conf
include /usr/local/lib
sudo ldconfig
测试:
protoc --version
libprotoc 2.5.0