Upgrade to dovecot 2.2.12 failed - libldap not found
Dr. Peter Voigt
pvoigt at uos.de
Mon Apr 28 17:19:37 UTC 2014
I am runing 10.0-RELEASE-p1 with dovecot 2.2.10 and LDAP support.
The today upgrade to dovecot 2.2.12 fails:
# portmaster --no-confirm --no-term-title -D -G dovecot
...
checking for auth_userokay... no
checking for ldap_init in -lldap... no
configure: error: Can't build with LDAP support: libldap not found
===> Script "configure" failed unexpectedly.
Please report the problem to bra at fsn.hu [maintainer] and attach the
"/usr/ports/mail/dovecot2/work/dovecot-2.2.12/config.log" including the
output of the failure of your make command. Also, it might be a good
idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1
Stop.
make: stopped in /usr/ports/mail/dovecot2
===>>> make failed for mail/dovecot2
===>>> Aborting update
===>>> Update for dovecot2-2.2.10 failed
===>>> Aborting update
===>>> Update for dovecot-pigeonhole-0.4.2_2 failed
===>>> Aborting update
===>>> Killing background jobs
Terminated
===>>> You can restart from the point of failure with this command line:
portmaster <flags> mail/dovecot2-pigeonhole mail/dovecot2
===>>> Exiting
But current dovecot 2.2.10 is built against openLDAP and libldap is
installed:
# pkg version -v |grep dovecot
dovecot-pigeonhole-0.4.2_2 < needs updating (port has 0.4.2_3)
dovecot2-2.2.10 < needs updating (port has 2.2.12)
# find / -name
libldap*/usr/local/lib/libldap-2.4.so /usr/local/lib/libldap-2.4.so.8
/usr/local/lib/libldap.a
/usr/local/lib/libldap.la
/usr/local/lib/libldap.so
/usr/local/lib/libldap_r-2.4.so
/usr/local/lib/libldap_r-2.4.so.8
/usr/local/lib/libldap_r.a
/usr/local/lib/libldap_r.la
/usr/local/lib/libldap_r.so
# make showconfig
===> The following configuration options are available for
dovecot2-2.2.12: DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
GSSAPI=off: GSSAPI support
KQUEUE=on: kqueue(2) support
LDAP=on: LDAP support
LIBWRAP=off: TCP wrapper support
LUCENE=off: CLucene FTS support
MYSQL=off: MySQL database support
PGSQL=off: PostgreSQL database support
SOLR=off: Solr FTS support
SQLITE=off: SQLite database support
SSL=on: SSL protocol support
VPOPMAIL=off: vpopmail support
===> Use 'make config' to modify these settings
Regards,
Peter
More information about the freebsd-ports
mailing list