您现在的位置是:网站首页> 编程资料编程资料
关于MariaDB安装问题小记(CMake Error at)_mariadb_
2023-05-27
459人已围观
简介 关于MariaDB安装问题小记(CMake Error at)_mariadb_
今日在安装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-dev
RedHat/Fedora/Oracle Linux: yum install libaio-devel
SuSE: zypper install libaio-devel
If 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命令既可以解决此问题
您可能感兴趣的文章:
相关内容
- MariaDB中的thread pool详细介绍和使用方法_mariadb_
- centos中找回MariaDB数据库root用户权限的方法_mariadb_
- 使用JDBC连接Mysql数据库会出现的问题总结_Mysql_
- 8种手动和自动备份MySQL数据库的方法_Mysql_
- MySQL设置global变量和session变量的两种方法详解_Mysql_
- mysql多表连接查询实例讲解_Mysql_
- Linux中 MySQL 授权远程连接的方法步骤_Mysql_
- 详解grep获取MySQL错误日志信息的方法_Mysql_
- 详解如何在阿里云上安装mysql_Mysql_
- 提升MongoDB性能的方法_Mysql_
