Posted in Linux
Install Protobuf Ubuntu
git clone https://github.com/google/protobuf.git cd protobuf ./autogen ./configure make make check sudo make install sudo apt-get install protobuf-c-compiler wget -c https://github.com/google/protobuf/releases/download/v3.0.0-beta-1/protobuf-java-3.0.0-beta-1.zip unzip protobuf-java-3.0.0-beta-1.zip cd protobuf-java-3.0.0-beta-1 ./autogen ./configure make sudo make install # add /usr/local to /etc/environment wget https://github.com/protobuf-c/protobuf-c/releases/download/v1.1.1/protobuf-c-1.1.1.tar.gz tar xzf protobuf-c-1.1.1.tar.gz cd protobuf-c-1.1.1 ./configure make sudo make install # jika ketemu error export LD_LIBRARY_PATH=/usr/local/lib, lakukan hal berikut export LD_LIBRARY_PATH=/usr/local/lib
Source
http://stackoverflow.com/questions/25518701/protobuf-cannot-find-shared-libraries