Hi, it's a known issue in 2.4.0, and it's fixed with 
https://github.com/dovecot/core/commit/61fe6bbd4a8a64e0823534a57a8db483019c4901.patch
 

Aki

> On 13/03/2025 15:21 EET Lafiel via dovecot <dovecot@dovecot.org> wrote:
> 
>  
> Hi.
> 
> Cannot build Dovecot without LDAP support.
> 
> Configure flags:
> --with-ldap=no
> 
> Error:
> 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:2138: auth-db-ldap-settings.o] Error 1
> 
> Dovecot version:
> 2.4.0
> 
> 
> -- 
> Best regards,
> Lafiel
> mailto:laf...@elven.pw
> _______________________________________________
> dovecot mailing list -- dovecot@dovecot.org
> To unsubscribe send an email to dovecot-le...@dovecot.org

_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to