LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-08-2011, 09:03 AM   #1
nknithya
LQ Newbie
 
Registered: Aug 2011
Posts: 2

Rep: Reputation: Disabled
mysql 5.5.13 installation error


Hi All,

I’m new to Linux environment. I have encountered an error while installing 5.5.13.

I have downloaded mysql ‘mysql-5.5.13-linux2.6-i686.tar.gz’ from my windows machine and moved it to Linux (since no net access in Linux machine) and extracted.

I have followed the steps present in ‘INSTALL-BINARY’ file.
When I entered ‘scripts/mysql_install_db --user=mysql’ this command it shows an error saying

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


Whether I need to install libaio.so.1 file? If so what the file is? And for what purpose we need to install that file? And why didn’t they mention it in their steps for installation?

Also could anyone please provide me a link to download that file?

Thanks in Advance!!


Nithya Natarajan
 
Old 08-08-2011, 10:17 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
Quote:
Whether I need to install libaio.so.1 file?
Obviously you do. You might want to get familiar with the ldd command to see if you are missing anything else.

Quote:
If so what the file is?
It's a library for asynchronous I/O. I'm sure you can Google libaio and find the libaio website.

Quote:
And for what purpose we need to install that file?
I don't know the details, maybe someone else does or maybe you could ask over on the MySQL forums.

Quote:
And why didn’t they mention it in their steps for installation?
Again, I didn't write the documentation, so I don't know. Why don't you head over to the MySQL website, see if anyone has submitted this oversight, and, if not, submit it so they can improve their documentation?

Quote:
Also could anyone please provide me a link to download that file?
Try that Google thing and see if you can find the libaio website. I bet they have a link there. Better yet, you should use your distro's package manager to install software. Most, not all, will resolve and install all needed dependencies as well. If you told us what distro you're using, I bet someone could tell you exactly how to install MySQL.
 
Old 08-08-2011, 10:44 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
"mysqld" depends on at least 10 libraries. They all have a purpose.

Which Linux OS are you using ?
As already said, a mysql for your OS should be preferred : Will work.

The packages from "Downloads/MySQL-5.5" are often of very little use :
No extra extensions are available !
 
  


Reply


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
mysql installation error chymeira Linux - Software 1 02-24-2010 12:37 PM
Mysql Installation Error seekingsky Linux - Newbie 1 11-08-2008 06:22 AM
PHP-MYSQL error at installation milkteeth Linux - Server 7 12-13-2007 06:34 PM
help! MySql installation error jasoncngo Linux - Software 3 03-24-2003 06:57 AM
mysql installation error (make install error) jolly_good2000 Linux - Software 1 11-14-2002 05:00 PM


All times are GMT -5. The time now is 07:37 PM.

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