关于MariaDB安装问题小记(CMake Error at)

2022-12-08 0 795

今日在安装MariaDB的时候始终提示如下错误,但是我已经安装了libaio-devel库:

CMake Error at cmake/build_configurations/mysql_release.cmake:128 (MESSAGE):aio is required on Linux, you need to install the required library:Debian/Ubuntu: apt-get install libaio-devRedHat/Fedora/Oracle Linux: yum install libaio-develSuSE: zypper install libaio-develIf you really do not want it, pass -DIGNORE_AIO_CHECK to cmake.

搜寻各种解决方案后才知道因为刚开始第一次执行cmake的时候就产生了CMakeCache.txt,这个时候我并没有安装libaio-devel库,然后继续安装依赖库后再执行cmake其实读取的依然是前面生成的cache文件,导致cmake判断libaio-devel一直未被安装。因此只要我们rm删除CMakeCache.txt文件后重新执行cmake命令既可以解决此问题

收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

悠久资源 Mariadb数据库 关于MariaDB安装问题小记(CMake Error at) https://www.u-9.cn/sql/mariadb/6048.html

常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务

  • 0 +

    访问总数

  • 0 +

    会员总数

  • 0 +

    文章总数

  • 0 +

    今日发布

  • 0 +

    本周发布

  • 0 +

    运行天数

注册会员,众多资源免费下载