Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Oct 2006 16:54:49 +0200
From:      Jonathan McKeown <jonathan@hst.org.za>
To:        freebsd-questions@freebsd.org
Subject:   Re: mimedefang with LDAP-enabled sendmail
Message-ID:  <200610161654.50208.jonathan@hst.org.za>
In-Reply-To: <200610152219.47346.jonathan@hst.org.za>
References:  <200610152219.47346.jonathan@hst.org.za>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610161654.50208.jonathan>