Enabling odbc AND iodbc for net-nds/openldap-2.4.19-r1 fails with the following error: checking for openlog... yes checking sql.h usability... no checking sql.h presence... no checking for sql.h... no configure: error: could not locate SQL headers Reproducible: Always
The solution for the problem: ------------------------------------------ --- openldap-2.4.19-r1.ebuild 2010-01-12 21:06:32.000000000 +0100 +++ openldap-2.4.19-r2.ebuild 2010-02-19 00:26:11.640134110 +0100 @@ -307,6 +307,9 @@ local odbc_lib="unixodbc" use iodbc && odbc_lib="iodbc" myconf="${myconf} --with-odbc=${odbc_lib}" + if use iodbc ; then + append-cppflags -I/usr/include/iodbc + fi fi # slapd options ------------------------------------------
Fixed for 2.4.21, thanks :)