I am using FreeBSD 4.9
Openldap 2.21
I have also test this with
openldap 2.22

When I compile vpopmail with ldap support using the following command
make CONFIGURE_ARGS="--enable-auth-module=ldap"
I get the following error

cc -O -pipe -Wall -o vchkpw vchkpw.o md5.o hmac_md5.o libvpopmail.a -L/usr/local/lib -lldap -llber -lresolv -lcrypt
/usr/libexec/elf/ld: cannot find -lresolv

I googled the error and came across a posting about samba services that said that lresolv was depreciated in FreeBSD. So I removed lresolv from the spefic line of line of code and the program compiled cleanly.

But, when I try to add a new domain I get the following error.

/usr/libexec/ld-elf.so.1: Shared object "libldap.so.202" not found

Reply via email to