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.
You can also use
$ sudo ldconfig # refresh shared library cache.
as stated at the installation page
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With