您好,欢迎访问一九零五行业门户网

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

今日在安装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-g
今日在安装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命令既可以解决此问题
其它类似信息

推荐信息