Upgrade to dovecot 2.2.12 failed - libldap not found

olli hauer ohauer at gmx.de
Mon Apr 28 17:40:20 UTC 2014


On 2014-04-28 19:18, Dr. Peter Voigt wrote:
> 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

Hm,

is this also happen if you go direct into mail/dovecot2 and run `make configure'?
(without portmaster)


>From my build:
$ 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=on: TCP wrapper support
     LUCENE=off: CLucene FTS support
     MYSQL=on: MySQL database support
     PGSQL=on: PostgreSQL database support
     SOLR=on: Solr FTS support
     SQLITE=on: SQLite database support
     SSL=on: SSL protocol support
     VPOPMAIL=off: vpopmail support


$ make configure
...

Install prefix . : /usr/local
File offsets ... : 64bit
I/O polling .... : kqueue
I/O notifys .... : kqueue
SSL ............ : yes (OpenSSL)
GSSAPI ......... : no
passdbs ........ : static passwd passwd-file pam checkpassword ldap sql
                 : -shadow -bsdauth -sia -vpopmail
userdbs ........ : static prefetch passwd passwd-file checkpassword ldap sql nss
                 : -vpopmail
SQL drivers .... : pgsql mysql sqlite
Full text search : squat solr
                 : -lucene


-- 
Regards,
olli


More information about the freebsd-ports mailing list