how to fix the libprotobuf error

23 ビュー (過去 30 日間)
xianyou zhong
xianyou zhong 2020 年 1 月 1 日
回答済み: Jemima Pulipati 2021 年 1 月 13 日
when I use matlab gui, I get the error information as follows:
[libprotobuf FATAL google/protobuf/stubs/] 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/".)
matlab will crash.
What should I do to fix it?

回答 (1 件)

Jemima Pulipati
Jemima Pulipati 2021 年 1 月 13 日
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.


Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索


Community Treasure Hunt

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

Start Hunting!

Translated by