How to install libprotobuf?

Viewed 33685

By mistake i have deleted these libraries. I couldn't find a right way to reinstall it.

/usr/lib/x86_64-linux-gnu/libprotobuf.so.8
/usr/lib/x86_64-linux-gnu/libprotobuf-c.so.0

To fix it, i tried to follow these instructions, https://github.com/google/protobuf/blob/master/src/README.md but ended up with different version. Now while compiling my code it throws this error. How can i get my previous version back?

error while loading shared libraries: libprotoc.so.8: cannot open shared object file: No such file or directory
1 Answers
Related