OpenVINO开发小组
直播中

吴湛

11年用户 896经验值
擅长:33391
私信 关注
[问答]

运行install_prerequisites.sh脚本配置模型优化器收到错误怎么解决?


  • Ran install_prerequisites.sh 脚本。
  • 收到错误:"/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libprotobuf.a(arena.o): relocation R_X86_64_TPOFF32 against hidden symbol `_ZN6google8protobuf5Arena13thread_cache_E' can not be used when making a shared object
    /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libprotobuf.a(descriptor.o): relocation R_X86_64_PC32 against symbol `_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED1Ev' can not be used when making a shared object; recompile with -fPIC

回帖(1)

胡楚翘

2025-3-5 14:36:16
手动安装 protobuf:
sudo apt-get install autoconf automake libtool curl make g++ unzip -y
git clone https://github.com/google/protobuf.git
cd protobuf
git submodule update --init --recursive
./autogen.sh
./configure
make
make check
sudo make install
sudo ldconfig
举报

更多回帖

×
20
完善资料,
赚取积分