数据库
MySQL
ORACLE
占位哈哈
占位哈哈
占位哈哈
占位哈哈
占位哈哈
占位哈哈
占位哈哈
占位哈哈
Linux运维
中间件
shell脚本
占位哈哈
占位哈哈
占位哈哈
占位哈哈
占位哈哈
占位哈哈
占位哈哈
首页 动态 发帖 版块 我的
 退出
游客  
等级:
金豆:
经验:
首页  /  数据库  /  MySQL  /  正文

CentOS8编译安装MySQL8发生Could not find rpcgen错误

  2204 
 0
 0
报错信息:

CMake Error at plugin/group_replication/libmysqlgcs/cmake/rpcgen.cmake:104 (MESSAGE):
  Could not find rpcgen
Call Stack (most recent call first):
  plugin/group_replication/libmysqlgcs/CMakeLists.txt:53 (INCLUDE)
原因:

在CentOS8下编译安装MySQL8可能会出现Could not find rpcgen错误,而CentOS8默认的yum源下不提供rpcgen的安装包。所以需要到rpcgen的GitHub仓库上找,地址如下:

https://github.com/thkukuk/rpcsvc-proto/releases


解决办法:

[root@lnmp mysql-8.0.21]# cd /opt/
[root@lnmp opt]#  wget https://github.com/thkukuk/rpcsvc-proto/releases/download/v1.4/rpcsvc-proto-1.4.tar.gz
[root@lnmp opt]# tar xf rpcsvc-proto-1.4.tar.gz 
[root@lnmp opt]# cd rpcsvc-proto-1.4/
[root@lnmp rpcsvc-proto-1.4]# ./configure && make && make install
重新在去预编译mysql即可解决这个错误


标签:
作者签名:    楼主  2020-09-18 14:15:10

点赞推荐

回复列表
合作伙伴:
Powered by 运维术 8.3.2
© 2017-2024 模板 by 黑衣人
您的IP: 18.191.223.179 , 2024-09-19 09:04:49
Powered by 运维术 8.3.2
© 2017-2024 模板 by 黑衣人
(0) 分享
分享
取消
我的客服