brpc icon indicating copy to clipboard operation
brpc copied to clipboard

请问下aarch64架构的centos系统怎么安装brpc 1.3.0

Open mjsky481 opened this issue 9 months ago • 0 comments

centos 8 aarch64

# cat /etc/os-release
NAME="CentOS Linux"
VERSION="8"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Linux 8"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:8"
HOME_URL="https://centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-8"
CENTOS_MANTISBT_PROJECT_VERSION="8"

参考文档运行 yum install git gcc-c++ make openssl-devel gflags-devel protobuf-devel protobuf-compiler leveldb-devel这些依赖

Installed:
  cmake-filesystem-3.20.2-4.el8.aarch64  gcc-c++-8.5.0-4.el8_5.aarch64           gflags-2.1.2-6.el8.aarch64           gflags-devel-2.1.2-6.el8.aarch64  leveldb-1.22-1.el8.aarch64  leveldb-devel-1.22-1.el8.aarch64  libstdc++-devel-8.5.0-4.el8_5.aarch64
  protobuf-3.5.0-13.el8.aarch64          protobuf-compiler-3.5.0-13.el8.aarch64  protobuf-devel-3.5.0-13.el8.aarch64

Complete!

然后用cmake执行编译 mkdir build && cd build && cmake .. && cmake --build . -j6

报错日志

brpc-1.3.0.log

很多 undefined reference to `google:: 相关的报错

mjsky481 avatar Mar 04 '25 06:03 mjsky481