How to reinstall and locate it in /usr/local/bin/protoc

Viewed 3459

I am using protoc version 2.5.0. However, I have deleted it by the command

rm which protoc

I think it deleted the /usr/local/bin/protoc directory. I tried to reinstall it by

sudo apt-get install protobuf-compiler

However, I could not recreate the above folder. All of my source code run with the protobuf compiler often shows the error

error while loading shared libraries: libprotobuf.so.12: cannot open shared object file: No such file or directory

Please help me to fix it

1 Answers
Related