Libaio. so.1: cannotopen#dobjectfile

Source: Internet
Author: User

Mysql_install_db fails when trying to install 5.5.10.
Apparently, it depends on a library that it is not found on Linux ../scripts/mysql_install_db -- datadir = ~ /Path/to/your/data/-- basedir = $ PWD -- user = $ USERInstalling MySQL system tables... mysqld: error while loading shared libraries: libaio. so.1: cannot open shared object file: No such file or directory
The problem above has plagued me for a long time. I checked it online, but I only needed to execute it.
Sudo apt-get install libaio-dev
The results may not work, nor can we deny it. It seems that this is 32bit, and my system is 64bit. Later I found it, I can use the following:
Sudo apt-get install libaio1
 
 

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.