Hi,
I'm trying to compile qmail-ldap with SMTP auth, but i'm getting an error.
I have openssl installed in /usr/local/ssl
My qmail's Makefile relevant part is:
----------------------------------------------
TLS=-DTLS_REMOTE -DTLS_SMTPD
# Path to OpenSSL includes
TLSINCLUDES=-I/usr/local/ssl/include
# Path to OpenSSL libraries
TLSLIBS=-L/usr/local/ssl/lib -lssl -lcrypto
# Path to OpenSSL binary
OPENSSLBIN=/usr/local/ssl/bin/openssl
OPENSSLBIN=openssl
---------------------------------------------
The error i get is:
------------------------------------------------
[root@mail2 qmail-1.03]# make setup check
./load digest passwd.o digest_md4.o digest_md5.o digest_rmd160.o \
digest_sha1.o base64.o qldap-debug.o output.o getopt.a strerr.a \
substdio.a case.a env.a stralloc.a str.a fs.a alloc.a error.a \
passwd.o(.text+0x48): In function `cmp_passwd':
: undefined reference to `crypt'
passwd.o(.text+0x64): In function `cmp_passwd':
: undefined reference to `crypt'
passwd.o(.text+0x2a2): In function `do_crypt':
: undefined reference to `crypt'
collect2: ld returned 1 exit status
make: *** [digest] Error 1
-------------------------------------------------
Any help would be appreciated.
Warm Regards,
Mário Gamito
|