About MariaDB installation problem note (CMake Error at), mariadbcmake

Source: Internet
Author: User

About MariaDB installation problem note (CMake Error at), mariadbcmake

The following error is always prompted when installing MariaDB today, but I have installed the libaio-devel Library:

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.

After searching for different solutions, I realized that cmakecache.txt was created when I first executed cmake. at this time, I didn't install the libaio-devel library, and then I continued to install the dependent library and then executed cmake to read the cache files generated earlier, as a result, cmake judges that libaio-devel has not been installed. For this reason, we only need to delete the cmakecache.txt file and then re-execute the cmake command to solve this problem.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.