这个错误提示是因为编译所需的libprotobuf-c版本过低,需要安装最低版本1.1.0的protobuf-c。你可以按照以下步骤来解决这个错误:

  1. 首先,确认你的系统上是否安装了protobuf-c。你可以运行以下命令来检查:

    rpm -qa | grep protobuf-c
    

    如果没有安装则需要先安装protobuf-c,可以使用以下命令:

    yum install protobuf-c
    
  2. 如果已经安装了protobuf-c,但是版本过低,需要手动编译安装最低版本1.1.0的protobuf-c。可以按照以下步骤来进行:

    1. 下载最低版本的protobuf-c,可以从官网下载:https://github.com/protobuf-c/protobuf-c/releases/tag/v1.1.0

    2. 解压下载的protobuf-c压缩包:

      tar -zxvf protobuf-c-1.1.0.tar.gz
      
    3. 进入解压后的protobuf-c目录,进行编译和安装:

      cd protobuf-c-1.1.0
      ./configure
      make
      make install
      
  3. 编译完成后,重新运行原来的编译命令即可。

centos 编译错误:configure error minimum version 110 of libprotobuf-c not found Install minimum required version of protobuf-c

原文地址: https://www.cveoy.top/t/topic/b0py 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录