[Mimedefang] Compiling MimeDefang 2.72 (configuration bug report).

kd6lvw at yahoo.com kd6lvw at yahoo.com
Mon Jul 25 15:28:54 EDT 2011


> > For some reason, MD 2.72 didn't pick up that it needed the LDAP
> > library (i.e. a "-lldap" added to the compiling line, when libmilter
> > also has LDAP enabled).
> 
> Could you please post the output of:
> nm ../sendmail-8.14.5/obj.Linux.2.6.39.1.x86_64/libmilter/libmilter.a
> | grep ldap
> 
> and I'll write a configure test?

nm /usr/src/sendmail-8.14.5/obj.Linux.2.6.39.1.x86_64/libmilter/libmilter.a | grep ldap
                 U ldap_err2string


Just that one line.  Comes from
/usr/src/sendmail-8.14.5/obj.Linux.2.6.39.1.x86_64/libmilter/errstring.c:271:
           return ldap_err2string(errnum - E_LDAPBASE);

Which is inside a #if LDAPMAP, which also includes these two files:
# include <lber.h>
# include <ldap.h>                      /* for LDAP error codes */

and is used in function: const char *sm_errstring(errnum).

LDAPMAP is a configuration time option.




More information about the MIMEDefang mailing list