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

Vincent Jaussaud tatooin at kelkoo.com
Mon Oct 20 12:58:17 EDT 2003


On Mon, 2003-10-20 at 18:03, Paul Heinlein wrote:
> 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. 
Yes, but that's what I want since I need sendmail with full SASL & LDAP
support.
Note that this problem only appeared with sendmail 8.12.10; with earlier
versions everything was just fine. 
This is not related to RedHat 9, since I've exactly the same problem
with my old mail server, running on a RedHat 7.3

> 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:

Which gives:

libcom_err.so.3
libcrypto.so.4
libcrypt.so.1
libc.so.6
libdb-4.0.so
libdl.so.2
libgdbm.so.2
libgssapi_krb5.so.2
libk5crypto.so.3
libkrb5.so.3
liblber.so.2
libldap.so.2
/lib/ld-linux.so.2
libnsl.so.1
libpam.so.0
libpthread.so.0
libresolv.so.2
libsasl.so.7
libssl.so.4
libwrap.so.0
libz.so.1

All of these librairies exist, and are provided by RH.

Any idea ?

> 
>   ldd /path/to/sendmail | awk '{print $1}' | sort
> 
> --Paul Heinlein <heinlein at cse.ogi.edu>
> _______________________________________________
> MIMEDefang mailing list
> MIMEDefang at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
-- 
Vincent Jaussaud
Kelkoo.com Security Manager 
email: tatooin at kelkoo.com

"Those who desire to give up freedom in order to gain security will not
have, nor do they deserve, either one."
    -- President Thomas Jefferson.    1743-1826




More information about the MIMEDefang mailing list