启动协议时出现符号查找错误

时间:2018-11-12 14:14:43

标签: tensorflow protocol-buffers raspberry-pi3

我正在尝试按照https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/makefile

上的说明为Raspberry Pi(运行Raspbian GNU / Linux 9 Stretch)构建TensorFlow。

根据以下条件建立协议缓冲区后:

cd tensorflow/contrib/makefile/downloads/protobuf/
./autogen.sh
./configure
make
sudo make install
sudo ldconfig  # refresh shared library cache

启动protoc时出现以下错误:

% /usr/local/bin/protoc
/usr/local/bin/protoc: symbol lookup error: /usr/local/bin/protoc: undefined symbol: _ZN6google8protobuf8compiler20CommandLineInterface12AllowPluginsERKSs

关于建议采取哪些步骤解决此问题的任何建议(请注意,我也在此处将问题发布到https://raspberrypi.stackexchange.com/questions/90835/symbol-lookup-error-when-launching-protoc)?

0 个答案:

没有答案