Introduction to Apr Util

The Apache Portable Runtime Utility Library provides a predictable and consistent interface to underlying client library interfaces. This application programming interface assures predictable if not identical behaviour regardless of which libraries are available on a given platform.

This package is known to build and work properly using an LFS-8.1 platform.

Package Information

Apr Util Dependencies





Berkeley DB-6.2.32, FreeTDS, MariaDB-10.2.12 or MySQL, OpenLDAP-2.4.45, PostgreSQL-10.1, SQLite-3.21.0 and unixODBC-2.3.5

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/apr-util

Installation of Apr Util

Install Apr Util by running the following commands:

./configure --prefix=/usr       \
            --with-apr=/usr     \
            --with-gdbm=/usr    \
            --with-openssl=/usr \
            --with-crypto &&

To test the results, issue: make test. One test, testdbm, is known to fail.

Now, as the root user:

make install

Command Explanations

--with-gdbm=/usr: This switch enables the apr_dbm_gdbm-1.so plugin.

--with-openssl=/usr --with-crypto: These switches enable the apr_crypto_openssl-1.so plugin. Remove them if you have not installed OpenSSL-1.1.0g.

--with-berkeley-db=/usr: If you have installed Berkeley DB-6.2.32, use this switch to compile the apr_dbm_db-1.so plugin.

--with-ldap: If you have installed OpenLDAP-2.4.45, use this switch to compile the apr_ldap.so plugin.


Installed Program: apu-1-config
Installed Library: libaprutil-1.so
Installed Directory: /usr/lib/apr-util-1

Short Descriptions


is an APR-util script designed to allow easy command line access to APR-util configuration parameters.


contains functions that provide a predictable and consistent interface to underlying client library interfaces.

Last updated on 2017-10-27 22:05:43 -0500