Mark
Matteo Ridolfi wrote:
I installed vpopmail 5.3.9 with ldap support withouth problems. Now I want to install courier-imap to authenticate against vpopmail, with the vchkpw module.So I compiled the 1.6.0 version of courier-imap with these flags: ./configure --with-authvchkpw=yes --with-authshadow=yes --sysconfdir=/etc/courier-imap/ --prefix=/usr/ --bindir=/usr/sbin/ --libexecdir=/usr/lib/courier-imap/ --localstatedir=/var/lib/courier-imap/ --enable-workarounds-for-imap-clients-bug --with-authdaemonvar=/var/lib/courier-imap/authdaemon/ --enable-unicode after a while, here's the make problem. gcc -I/home/vpopmail/include -g -O2 -Wall -I.. -I./.. -o authvchkpw modauthvchkpw.o libauthmod.a libauth.a ../numlib/libnumlib.a ../md5/libmd5.a ../sha1/libsha1.a -L/home/vpopmail/lib -lvpopmail -L -lldap -llber -lresolv -lm -lcrypt /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_getpw': /tmp/vpopmail-5.3.9/vauth.c:92: undefined reference to `ldap_init' /tmp/vpopmail-5.3.9/vauth.c:98: undefined reference to `ldap_set_option' /tmp/vpopmail-5.3.9/vauth.c:99: undefined reference to `ldap_simple_bind_s' /tmp/vpopmail-5.3.9/vauth.c:106: undefined reference to `ldap_search_s' /tmp/vpopmail-5.3.9/vauth.c:113: undefined reference to `ldap_first_entry' [...] /tmp/vpopmail-5.3.9/vauth.c:820: undefined reference to `ldap_modify_s' /home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vclose': /tmp/vpopmail-5.3.9/vauth.c:840: undefined reference to `ldap_unbind_s' collect2: ld returned 1 exit status make[2]: *** [authvchkpw] Error 1 make[2]: Leaving directory `/home/speza/courier-imap-1.6.0/authlib' make[1]: *** [all] Error 2 make[1ng directory `/home/speza/courier-imap-1.6.0/authlib' make: *** [all-recursive] Error 1 think the problem is of some includes, but I can't understand why. Thanks if you'll help me... /speza -------------------------------- home: http://speza.com icq#: 11471656 6:03pm up 57 min, 1 user, load average: 1.36, 1.23, 1.24