Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-27-2011, 02:02 AM   #1
LQ Newbie
Registered: Aug 2011
Posts: 2

Rep: Reputation: Disabled
installing MySQL - libaio dependency error

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: 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!!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error loading during MySql installation macogala Linux - Software 3 07-25-2011 01:46 AM
installing libaio in fedora core 2 mahendraswain Linux - Software 3 01-10-2010 11:29 AM
Error loading Shared Libraries while trying to Install Sybase digiman25 Linux - Software 1 07-18-2008 11:14 AM
error while loading shared libraries: dbavinod Linux - Software 2 02-08-2008 05:01 AM
Problems Installing/uninstalling MySQL On Fedora Fc4 (library dependency issue) donraja Linux - Software 2 05-26-2006 01:06 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:14 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration