Protobuf cannot find shared libraries
This issue can be resolved by following these steps:
- vim /etc/ld.so.conf
- /usr/local/lib(add it in .conf)
You can also use
$ sudo ldconfig # refresh shared library cache.
as stated at the installation page
sudo ldconfig
or
export LD_LIBRARY_PATH=/usr/local/lib
should solve the problem.