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

cnbugs cnbugs 关注 VIP用户组 3级
发表于MySQL版块
报错信息:

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即可解决这个错误


评论列表 评论
发布评论

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

(0) 分享
分享
取消
我的客服