- <pre code_snippet_id="275763" snippet_file_name="blog_20140404_1_5530152" name="code" class="html"><span style="white-space: pre-wrap; font-family: Arial, Helvetica, sans-serif;">mysql_install_db fails when trying to install 5.5.10. </span></pre>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
- <span style="white-space: pre-wrap; font-family: Arial, Helvetica, sans-serif;">mysql_install_db fails when trying to install 5.5.10. </span>
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
上面这个问题纠结了我很久,网上各种查,说但是只要执行 - sudo apt-get install libaio-dev
sudo apt-get install libaio-dev
- 就可以 结果各种不行,也不能否定这个不行,貌似这个是支持32bit的,我系统是64bit,后来查到,用下面这个可以
就可以 结果各种不行,也不能否定这个不行,貌似这个是支持32bit的,我系统是64bit,后来查到,用下面这个可以
- sudo apt-get install libaio1
sudo apt-get install libaio1