Hi there,
I tried to compile qmail-ldap-1.03-20040301a-controls20040413 on SuSE 9.0 and get a compile error:
control.o stralloc.a fs.a getopt.a substdio.a -L/usr/local/lib -lldap -llber control.o(.text+0x7bf): In function `control_ldap_search': : undefined reference to `str_diffn' control.o(.text+0xb2e): In function `control_ldap_search': : undefined reference to `str_diffn' collect2: ld returned 1 exit status make: *** [qmail-newmrh] Fehler 1
it's very urgent, please send any help
Makefile is like this:
LDAPFLAGS=-DDASH_EXT
# * These are some options to securly connect to the LDAP server # -DSECUREBIND_SASL Bind using SASL # -DSECUREBIND_SSL Encrypt the channel with SSL # -DSECUREBIND_TLS Encrypt the channel with TLS (SSL v3) # -DSECUREBIND_ALL All of the above... SECUREBIND=-DSECUREBIND_ALL
# * Log authentication success/failures in auth_{pop,imap,smtp}
SYSLOGAUTH=-DLOGAUTH# -DUSE_RFC2307 -> Follow the RFC2307 # -DUSE_RFC822 -> Follow the RFC822 # See the QLDAPINSTALL file for more about this. #RFCFLAGS=-DUSE_RFC2307 -DUSE_RFC822 # to enable having the configuration (~control/* in the LDAP database # to, uncomment the following line and read QLDAPINSTALL. # -DUSE_CONTROLDB Search LDAP for control files # -DQLDAP_BAILOUT First search LDAP, then FS CONTROLDB=-DUSE_CONTROLDB -DQLDAP_BAILOUT
# Perhaps you have different ldap libraries, change them here LDAPLIBS=-L/usr/local/lib -lldap -llber # and change the location of the include files here LDAPINCLUDES=-I/usr/local/include # on Slowaris you need -lresolv and probably a LD_RUN_PATH added like this: #LDAPLIBS=-L/opt/OpenLDAP/lib -lldap -llber -lresolv -R/opt/OpenLDAP/lib # for example on my Linux box I use: #LDAPLIBS=-L/opt/OpenLDAP/lib -lldap -llber # if you need a special include-directory for ldap headers enable this #LDAPINCLUDES=-I/opt/OpenLDAP/include
# ZLIB needed for -DDATA_COMPRESS and -DQMQP_COMPRESS #ZLIB=-lz # of you installed zlib in a different path you can use something like this #ZLIB=-L/opt/zlib/lib -lz # TLS (SMTP encryption) in qmail-smtpd and qmail-remote, see TLS.readme # You need OpenSSL for this # use -DTLS_REMOTE to enable tls support in qmail-remote # use -DTLS_SMTPD to enable tls support in qmail-smtpd # use -DTLSDEBUG to enable additional tls debug information in qmail-remote TLS=-DTLS_REMOTE -DTLS_SMTPD # Path to OpenSSL includes TLSINCLUDES=-I/usr/include # Path to OpenSSL libraries TLSLIBS=-L/usr/lib -lssl -lcrypto # Path to OpenSSL binary #OPENSSLBIN=/usr/local/bin/openssl OPENSSLBIN=openssl
# to make the Netscape download progress bar work with qmail-pop3d # uncomment the next line (allready done) #MNW=-DMAKE_NETSCAPE_WORK
# to enable the auto-maildir-make feature uncomment the next line MDIRMAKE=-DAUTOMAILDIRMAKE
# to enable the auto-homedir-make feature uncomment the next line HDIRMAKE=-DAUTOHOMEDIRMAKE
# on most systems we need this to make auth_pop and auth_imap SHADOWLIBS=-lcrypt # OpenBSD and other Systems do not have libcrypt, so comment the line out # if you get linking problems. # To use shadow passwords under some Linux OS, uncomment the next two lines. #SHADOWLIBS=-lcrypt -lshadow #SHADOWOPTS=-DPW_SHADOW # To use shadow passwords under Solaris, uncomment the SHADOWOPTS line.
# to enable the possibility to log and debug imap and pop uncoment the # next line #DEBUG=-DDEBUG # WARNING: you need a NONE DEBUG auth_* to run with inetd
--
Carsten B�cker Pleidelsheimer Str. 6 71634 Ludwigsburg
Tel: 07141 / 462110 Mobil: 0172 / 7579630 Email: [EMAIL PROTECTED] http://www.cb-world.de
