mimedefang with LDAP-enabled sendmail
Jonathan McKeown
jonathan at hst.org.za
Mon Oct 16 07:52:54 PDT 2006
On Sunday 15 October 2006 22:19, Jonathan McKeown wrote:
> sendmail -d0.1 -bt </dev/null gives me
>
> Version 8.13.6
> Compiled with: DNSMAP LDAPMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8
> MIME8TO7 NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS
> PIPELINING SASLv2 SCANF STARTTLS TCPWRAPPERS USERDB
> USE_LDAP_INIT XDEBUG
>
> When I try to build and install mail/mimedefang from ports (version is
> 2.57), I get (modulo wrapping)
>
> cc -O2 -fno-strict-aliasing -pipe -pthread -o mimedefang mimedefang.o
> drop_privs_threaded.o utils.o rm_r.o syslog-fac.o /usr/lib/libmilter.a
> -lpthread
>
> /usr/lib/libmilter.a(errstring.o)(.text+0xd6): In function `sm_errstring':
> : undefined reference to `ldap_err2string'
The undefined reference is apparently in libmilter.a and it seems (Google
again) that the ldap_err2string symbol comes from the openldap library. Is it
possible that the build of libmilter is not picking up libldap
from /usr/local/lib?
Jonathan
More information about the freebsd-questions
mailing list