Apache 資料一覧

LDAPサポート付でApacheをmakeすると「#error mod_authnz_ldap requires APR-util」というエラーが出る

2008/5/17更新

対応バージョン: 2.2.8

LDAPサポートを組み込もうと以下のオプションを付けてconfigure、makeするとエラーになる。

% ./configure --enable-authnz-ldap --enable-ldap
% make
:
mod_authnz_ldap.c:41:2: error: #error mod_authnz_ldap requires APR-util to have LDAP support built in. To fix add --with-ldap to ./configure.
:

エラーメッセージのとおりAPR-utilが足りないのが原因なので、別途組み込んでもよいが(*)、--with-ldapオプション付でconfigureすれば自動的に組み込んでくれる。

% ./configure --with-ldap --enable-authnz-ldap --enable-ldap
% make
:

(*) APR-utilはApache配布物のsrclib/apr-util配下に格納されている。

関連資料・記事