I built and installed tensorflow and openCV on TX2. And ran my program written in Python.
But I got a error about protocol buffer version.
Where the error occurred is “import tensorflow.contrib.slim”.
Error code is as follows.
[libprotobuf FATAL google/protobuf/stubs/common.cc:61] This program requires version 3.3.0 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 “bazel-out/local_linux-opt/genfiles/tensorflow/contrib/tensor_forest/proto/fertile_stats.pb.cc”.)
terminate called after throwing an instance of ‘google::protobuf::FatalException’
what(): This program requires version 3.3.0 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 “bazel-out/local_linux-opt/genfiles/tensorflow/contrib/tensor_forest/proto/fertile_stats.pb.cc”.)
Aborted (core dumped)
I think that the problem is related “/usr/lib/aarch64-linux-gnu/libprotobuf.so.9” because when i install protobuf3.4, libprotobuf.so.14 is created at library folder.
so I linked libprotobuf.so.14 to libprotobuf.so.9 but in was not solved and I can’t open terminal window.
Please give me the solotion!
Jetpack version is 3.1.
Requirement already satisfied: protobuf in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied: setuptools in /usr/lib/python2.7/dist-packages (from protobuf)
Requirement already satisfied: six>=1.9 in /usr/local/lib/python2.7/dist-packages (from protobuf)
And protobuf version in pip is 3.4.0.
I think it need how to install the latest protobuf c++ compiler version. Do you have a method to install the protobuf on TX2 diffrent from normal method?