I have installed protobuf by using following commands:
./configure
make
make check
make install
However when I run protoc
I get following error:
protoc: error while loading shared libraries: libprotoc.so.8: cannot open shared object file: No such file or directory
sudo ldconfig
or
export LD_LIBRARY_PATH=/usr/local/lib
should solve the problem.