dovecot 2.4.0: Unable to build without LDAP/LUA headers/libs.
I'm getting LDAP/LUA build errors with dovecot 2.4.0 even when --without-lua and --without-ldap is specified: eg.
In file included from db-ldap-settings.c:9: ../../src/lib-ldap/ldap-settings-parse.h:4:10: fatal error: ldap.h: No such file or directory 4 | #include <ldap.h> | ^~~~~~~~ compilation terminated. make[3]: *** [Makefile:2134: auth-db-ldap-settings.o] Error 1
On 10/02/2025 12:37 EET h_y_i_e_n--- via dovecot <dovecot@dovecot.org> wrote:
I'm getting LDAP/LUA build errors with dovecot 2.4.0 even when --without-lua and --without-ldap is specified: eg.
In file included from db-ldap-settings.c:9: ../../src/lib-ldap/ldap-settings-parse.h:4:10: fatal error: ldap.h: No such file or directory 4 | #include <ldap.h> | ^~~~~~~~ compilation terminated. make[3]: *** [Makefile:2134: auth-db-ldap-settings.o] Error 1
Hi!
Looks like there is a bug, thank you for reporting.
Aki
Aki Tuomi via dovecot wrote on 10.02.2025 17:41:
-------- Original Message -------- From: Aki Tuomi via dovecot <dovecot@dovecot.org> Sent: Monday, February 10, 2025 at 5:41 PM UTC+7 To: h_y_i_e_n@yahoo.com, h_y_i_e_n--- via dovecot <dovecot@dovecot.org> Subject: RE: dovecot 2.4.0: Unable to build without LDAP/LUA headers/libs.
I'm getting LDAP/LUA build errors with dovecot 2.4.0 even when --without-lua and --without-ldap is specified: eg.
In file included from db-ldap-settings.c:9: ../../src/lib-ldap/ldap-settings-parse.h:4:10: fatal error: ldap.h: No such file or directory 4 | #include <ldap.h> | ^~~~~~~~ compilation terminated. make[3]: *** [Makefile:2134: auth-db-ldap-settings.o] Error 1
Hi!
Looks like there is a bug, thank you for reporting.
Aki
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
I'm getting LDAP/LUA build errors with dovecot 2.4.0 even when --without-lua
I got around this (for LUA) by using: --with-lua=no instead of: --without-lua
participants (3)
-
Aki Tuomi
-
h_y_i_e_n@yahoo.com
-
Tamsy