Linux libaio Library not found
What
Attempting to run the Virtuoso server binary results in error:
virtuoso: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
Why
On some Linux Operating Systems the libaio library Virtuoso requires is not installed by default and thus need to be manually installed. This library facilitates asynchronous I/O operations on the system.
How
The following commands can be run to install the libaio library on popular Linux systems:
Red Hat and CentOS
Use the following command to install the libaio package:
yum install libaio
Ubuntu
Use the following command to install the libaio package:
sudo apt-get install libaio1
Fedora
Install the RPM for the libaio package from the Fedora website.
Debian
Use the following command to install the libaio package:
mkdir /usr/libaio cd /usr/libaiot wget http://http.us.debian.org/debian/pool/main/liba/libaio/libaio1_0.3.106-3_i386.deb ar -x libaio1*.deb tar zxvf data.tar.gz sudo cp lib/* /emul/ia32-linux/lib/