当前位置: 首页 > news >正文

[MySQL] Package ‘libtirpc‘, required by ‘virtual:world‘, not found

Package ‘libtirpc’, required by ‘virtual:world’, not found

– Found PkgConfig: /usr/bin/pkg-config (found version “1.8.1”)
– Checking for module ‘libtirpc’
– Package ‘libtirpc’, required by ‘virtual:world’, not found
CMake Error at cmake/rpc.cmake:76 (MESSAGE):
Could not find rpc/rpc.h in /usr/include or /usr/include/tirpc
Call Stack (most recent call first):
rapid/plugin/group_replication/configure.cmake:60 (MYSQL_CHECK_RPC)
rapid/plugin/group_replication/CMakeLists.txt:25 (INCLUDE)

– Configuring incomplete, errors occurred!

You can build and installlibtirpc-devfrom source if you prefer not to use your distribution’s package manager or need a specific version. Here’s how you can do it:


Steps to Build libtirpc from Source

1.Download the Source Code

You can get the latest source from the official repository or via Git:

wgethttps://sourceforge.net/projects/libtirpc/files/libtirpc/1.3.3/libtirpc-1.3.3.tar.bz2tar-xjflibtirpc-1.3.3.tar.bz2cdlibtirpc-1.3.3
2.Configure the Build

Run the following commands to configure the build:

sudoapt-getinstallautoconf ./bootstrap ./configure--prefix=/usr/local --disable-gssapi
  • The--prefix=/usr/localoption installs the library and headers in standard system locations.
3.Compile and Install
makesudomakeinstall
4.Update the Dynamic Linker Cache

After installation, update the dynamic linker cache:

sudoldconfig
5.Verify Installation

Check if the header file and library are installed:

ls/usr/include/tirpc/rpc/rpc.hls/usr/lib/libtirpc.*
6.Re-run CMake

Now, try re-running CMake for your project:

rm-rfCMakeCache.txt CMakeFiles/ cmake.

Troubleshooting

  • If you encounter permission issues, usesudowhere necessary.
  • If the build fails, check for missing dependencies (likeautoconf,automake,libtool, orgcc).
  • If you want to install to a custom location (not/usr), use--prefix=/your/custom/pathand ensure your build system can find the headers and libraries.
http://www.jsqmd.com/news/485371/

相关文章:

  • 大模型为什么总“忘记”中间信息?Lost in the Middle的注意力陷阱
  • IAnnotation ​IDisplayDimension IDimension这三个类的职责 c# solidworks
  • 【LeetCode | 第六篇】算法笔记
  • COMSOL 数值模拟助力 N₂ 和 CO₂ 混合气体增强瓦斯抽采
  • 每日一题Day6(递归专栏---FBI数)
  • 情绪记录分析程序,记录每日情绪与触发事件,找出影响最大因素,给出调节建议。
  • 探索最优广义回归神经网络数据预测模型:DBO优化算法加持
  • OpenClaw 虚拟机保姆级部署指南
  • 大模型Agent技术全面升级
  • OpenClaw配置
  • 从CPU低延迟、GPU高带宽到大规模GPU集群
  • 用北方苍鹰优化算法优化随机配置网络SCN参数
  • 扣子(Coze)零基础入门全攻略|扣子(Coze)核心功能详解,含长期记忆、快捷指令、音视频处理及私有化部署指南
  • 揭秘CAIE认证:证书含金量、对就业的实际帮助及项目实战模块
  • 金融平台如何扩展KindEditor的PPT动态内容自动填充?
  • WangEditor在Vue2中如何处理Word文档中的特殊格式粘贴?
  • Claude上下文再大,也绕不开agent开发的“分治”艺术
  • 为什么说杨建允团队是GEO优化的顶级服务商? - 博客万
  • 理性评估:对比主流AI证书,赛一认证对应届生求职的实际加成
  • windows10本地安全隔离配置openclaw
  • 国产化控件如何实现KindEditor的PDF自动格式转换?
  • 解锁论文写作新姿势:书匠策AI,你的期刊论文智能导航员
  • 2026年佛山推荐售后好的木纹砖生产厂,哪家更值得选全揭秘 - 工业品网
  • 【爬虫】使用 Scrapy 框架爬取豆瓣电影 Top 250 数据的完整教程
  • 海洋主题文本聚类研究与可视化分析
  • 2026年上海靠谱中央空调排名,实力强的厂家推荐 - mypinpai
  • 为什么积分运算电路在反馈电容上要并联电阻
  • 教程分享:Vue2如何结合百度WebUploader插件实现大文件上传的进度可视化?
  • 航空航天Web服务如何基于百度WebUploader实现三维模型文件的跨平台分块校验?
  • 分布式驱动电动汽车模型:前轮主动转向与直接横摆力矩联合控制开发之路