Closed PPParticle closed 11 months ago
It's similar to issues4.
git clone https://github.com/protocolbuffers/protobuf.git
cd protobuf
git checkout v3.8.0
./autogen.sh
./configure
make
sudo make install
After compiling, it is necessary to set LD_LIBRARY_PATH to the protobuf lib (which is usually at /usr/local/lib, if --prefix doesn't set at configuration).
sudo ldconfig
And then it completes.
./tensorflow2ncnn mobilenet_v1_1.0_224_frozen.pb mobilenet_v1_1.0_224.param mobilenet_v1_1.0_224.bin
./tensorflow2ncnn: error while loading shared libraries: libprotobuf.so.19: cannot open shared object file: No such file or directory