Introduction to libaio

The libaio package is an asynchronous I/O facility ("async I/O", or "aio") that has a richer API and capability set than the simple POSIX async I/O facility. This library, libaio, provides the Linux-native API for async I/O. The POSIX async I/O facility requires this library in order to provide kernel-accelerated async I/O capabilities, as do applications which require the Linux-native async I/O API.



Development versions of BLFS may not build or run some packages properly if dependencies have been updated since the most recent stable versions of the book.

Package Information

User Notes:

Installation of libaio

First, disable the installation of the static library:

sed -i '/install.*libaio.a/s/^/#/' src/Makefile

Build libaio by running the following command:


If you want to run the test suite, fix an issue with Glibc-2.34 or later:

sed 's/-Werror//' -i harness/Makefile

To test the results, issue: make partcheck.

Now, install the package as the root user:

make install


Installed Programs: None
Installed Library:
Installed Directories: None

Short Descriptions

is the libaio library