[Mimedefang] MD 2.38 + RH 9 + Sendmail 8.12.10 + SA 2.60 problems

Paul Heinlein heinlein at cse.ogi.edu
Mon Oct 20 12:03:41 EDT 2003


On Mon, 20 Oct 2003, Vincent Jaussaud wrote:

> Second Problem:
> MD build process stop with an error:
>
> gcc -g -O2 -Wall -Wstrict-prototypes -pthread -o mimedefang mimedefang.o
> drop_privs_threaded.o utils.
> /usr/local/lib/libmilter.a(errstring.o)(.text+0x17a): In function
> `sm_errstring':
> : undefined reference to `ldap_err2string'
> collect2: ld returned 1 exit status
> make: *** [mimedefang] Error 1

Getting sendmail to compile against libldap on Red Hat systems is
semi-tough because the RH OpenLDAP libraries use the SASL and Kerberos
libraries for authentication. So ... run ldd against your sendmail
binary to make sure you picked up the requisite libs: libldap,
liblber, libsasl, libhesiod, libgssapi_krb5, libkrb5, libcom_err, and
libk5crypto. Here's an easy method:

  ldd /path/to/sendmail | awk '{print $1}' | sort

--Paul Heinlein <heinlein at cse.ogi.edu>



More information about the MIMEDefang mailing list