Install protobuf 2.5 on Ubuntu

Check which version you have

You can use synaptic package manager for finding it

If you want to install manually

Copy paste in some script below commands

sudo apt-get install build-essential
mkdir /tmp/protobuf_install
cd /tmp/protobuf_install
tar xzvf protobuf-2.5.0.tar.gz
cd  protobuf-2.5.0
make check
sudo make install
sudo ldconfig
protoc --version 

Check the installed version

$ protoc --version
libprotoc 2.5.0

Why we need ldconfig read link below 

Related error searches

[DEBUG] protoc: error while loading shared libraries:
protoc: error while loading shared libraries: 
[DEBUG] cannot open shared 
object file: No such file or directory
Cannot find `protoc` command 
If you came to this page with above error search then please do
sudo ldconfig
The details are present on link above

No comments:

Post a Comment

Please share your views and comments below.

Thank You.