Net Nut writes:

Hello, I am trying to upgrade to a newer courier-imap, but when I try to build as a rpm it finds a problem with authldap as below.

authldaplib.c: In function `enable_tls_on':
authldaplib.c:534: warning: implicit declaration of function `ldap_get_option'
authldaplib.c:535: error: `LDAP_OPT_PROTOCOL_VERSION' undeclared (first use in this function)
authldaplib.c:535: error: (Each undeclared identifier is reported only once
authldaplib.c:535: error: for each function it appears in.)
authldaplib.c:551: warning: implicit declaration of function `ldap_set_option'
authldaplib.c:556: warning: implicit declaration of function `ldap_start_tls_s'
make[2]: *** [authldaplib.o] Error 1
make[2]: Leaving directory `/usr/local/username/rpm/BUILD/courier-imap-2.2.0/authlib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/username/rpm/BUILD/courier-imap-2.2.0/authlib'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.77459 (%build)

how do I fix this?

Install openldap-devel.

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to