- <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
相关文章
- libaio.so.1: cannot open shared object file
- 解决libcrypto.so.0.9.8: cannot open shared object file
- nginx启动报错: libpcre.so.1/libpcre.so.0: cannot open shared object file
- mysql时报错:mysql: error while loading shared libraries: .5: cannot open shared object fil
- 解决报错.1.1: cannot open shared object file: No such file or directory
- WIN7激活工具拒绝访问cannot open file C:\OEMSF解决方法
- 编译boost程序出现如下错误fatal error LNK1104: cannot open file 'libboost_system-vc100-mt-gd-1_54.lib'的解决方法
- /usr/bin/ld:cannot open output file a.out: Permission denied collect2: ld returned 1 exit status
- 关于QT中 error: cannot open output file debug\untitled4.exe: Permission denied 错误
- STM32编译cannot open source input file的解决方法