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.
First, disable the installation of the static library:
sed -i '/install.*libaio.a/s/^/#/' src/Makefile
Next, fix an issue in the test suite:
case "$(uname -m)" in i?86) sed -e "s/off_t/off64_t/" -i harness/cases/23.t ;; esac
Build libaio by running the following command:
make
To test the results, issue:
make partcheck
Now, install the package:
make install