how to fix the libprotobuf error
38 views (last 30 days)
when I use matlab gui, I get the error information as follows:
[libprotobuf FATAL google/protobuf/stubs/common.cc:61] This program requires version 3.6.1 of the Protocol Buffer runtime library, but the installed version is 2.6.1. Please update your library. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "/tmp/B3p3/glnxa64/protobuf3/src/google/protobuf/any.pb.cc".)
matlab will crash.
What should I do to fix it?
Jemima Pulipati on 13 Jan 2021
From my understanding, the issue is due to a mismatch between the versions of Protocol Buffer used by the program and that which is installed.
Basing on the error message, you may have to update the library to version 3.6.1 as that is the version required by the program.