Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I downloaded MySQL's installation package and ran the following command after installing a fresh Ubuntu server.

dpkg -i mysql-5.5.28-debian6.0-x86_64.deb

It installed fine and then I tried starting up the server manually


And the following error came up

/opt/mysql/server-5.5/bin/mysqld: error while loading shared libraries: cannot open shared object file: No such file or directory

How can I install that library in an offline way ? I have no means whatsoever to an internet connection from that server and I can't even relocate it to have internet connection temporarily !

Thank you.

share|improve this question
Have you tried executing sudo apt-get install without parameters? dpkg just install the package but sometimes it allows you even on missing dependencies. This should give you an error and it will tell you the missing dependencies – Davisein Nov 25 '12 at 18:19
up vote 2 down vote accepted

How can I install that library in an offline way ?

The same way as you did mysql ofcourse. Find the package, put it on your system and install it with dpkg. You probably also need

btw: MySQL changelog for 5.5.10 states:

The libaio library, which has been used on Linux systems since MySQL 5.5.4, is now linked into mysqld dynamically rather than statically. If the library is not already on your Linux system, install it using the appropriate package manager for your distribution. The libaio-dev library is not sufficient; you must have the libaio library.

share|improve this answer
Thanks. What is the purpose of the "mutliarch" library ? – Muhammad Gelbana Nov 25 '12 at 18:22
1 @MuhammadGelbana acc. to the packages the libaio depends on it. You might already have it installed but you never know ;) – Rinzwind Nov 25 '12 at 18:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.