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 <[email protected]> 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:[email protected]
> _______________________________________________
> dovecot mailing list -- [email protected]
> To unsubscribe send an email to [email protected]

_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to