[Dovecot] problem with ldap

Xueron Nee
Tue, 17 Mar 2009 03:47:33 -0000

The same with the src downloaded from:
http://dovecot.org/releases/1.2/beta/dovecot-1.2.beta2.tar.gz

BDB-4.6, openldap-2.4.11, openssl, mysql were installed in /home/dovecot.

# CPPFLAGS="-I/home/dovecot/include -I/home/dovecot/include/mysql" \
LDFLAGS="-L/home/dovecot/lib -L/home/dovecot/lib/mysql" \
./configure --prefix=/home/dovecot \
--with-ldap=plugin --with-db \
--with-sql=plugin --with-mysql \
--with-zlib --with-bzlib \
--with-ssl=openssl \
--with-ssldir=/home/dovecot/etc/ssl \
--with-gssapi=plugin

Install prefix ...................... : /home/dovecot
File offsets ........................ : 64bit
I/O loop method ..................... : epoll
File change notification method ..... : inotify
Building with SSL support ........... : yes (OpenSSL)
Building with IPv6 support .......... : yes
Building with pop3 server ........... : yes
Building with mail delivery agent  .. : yes
Building with GSSAPI support ........ : plugin
Building with user database modules . : static prefetch passwd passwd-file
checkpassword ldap (plugin) sql nss
Building with password lookup modules : passwd passwd-file shadow pam
checkpassword ldap (plugin) sql
Building with SQL drivers ............: mysql (plugins)
NOTE: This is the UNSTABLE development branch of Dovecot v1.2.



On Tue, 17 Mar 2009 11:26:21 +0800 Xueron Nee <xueron at xueron.com>
wrote:

> Hi,
>
> dovecot-1.2 from hg.dovecot.org
> openldap-2.4.11
>
> passdb.o: In function `passdbs_init':
> /home/src/dovecot-1.2/src/auth/passdb.c:230: undefined reference to
`passdb_ldap'
> userdb.o: In function `userdbs_init':
> /home/src/dovecot-1.2/src/auth/userdb.c:177: undefined reference to
`userdb_ldap'
> collect2: ld returned 1 exit status
>
>
> --
> Xueron Nee
> http://www.xueron.com
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
signature database 3941 (20090317) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>


--
Xueron Nee