I'm checking with installed protobuf lib version on my system and I'm surprised with, following /usr/bin/protoc --version return V2.4.1 and following protoc --version return V3.0.0 .
Why this is so, am I missing any user account related installation concept.
It looks like you have two versions of protocol buffers installed.
If you write $ which protoc
you will see where the protoc environment variable points to. Probably /usr/local/bin/protoc
You can change that to /usr/bin/protoc
, but how depends on how it is set initially and what system you are on. Google or this article will help you with that.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.