Quantcast
Channel: MySQL Forums - Install & Repo
Viewing all articles
Browse latest Browse all 7239

installing on Linux - libaio dependency error (no replies)

$
0
0
Hi All,

I have a problem while installing mysql 5.5.16 in my Linux machine.

When I run the following command from Mysql directory,
scripts/mysql_install_db --user=root

I got this error:
Installing MySQL system tables...
./bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory

when I searched in net, I found this line:
InnoDB now has a innodb_use_native_aio system variable that can be disabled at startup if there is a problem with the asynchronous I/O subsystem in the OS. This variable applies to Linux systems only, where the MySQL server now has a dependency on the libaio library.

This dependency has been introduced from 5.5.4 version (When I tried with mysql5.5.3-m3 version its getting installed properly).

Is it mandatory to install the libaio liabrary or is it enough if I set innodb_use_native_aio=0 without installing libaio library.

Also in which file I need to modify the ‘innodb_use_native_aio’ variable?

Thanks in Advance!!

Viewing all articles
Browse latest Browse all 7239

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>