how to fix the libprotobuf error

13 views (last 30 days)
xianyou zhong
xianyou zhong on 1 Jan 2020
Answered: Jemima Pulipati on 13 Jan 2021
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?

Answers (1)

Jemima Pulipati
Jemima Pulipati on 13 Jan 2021
Hello,
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.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!