protocol buffers:
(1) 在 https://developers.google.com/protocol-buffers/docs/downloads 下载protobuf-2.6.1.tar.gz
(2) 解压
(3) cd protobuf-2.6.1
(4) ./configure
(5)
make
make check
make install
(6) 添加到lib
vim ~/.profile
打开配置文件,在该文件中添加
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
然后保存退出,接下来执行
source ~/.profile
(7) 测试是否安装成功