[Mimedefang] make error

Raymond Huning rhuning at el-tejon.k12.ca.us
Thu May 2 17:55:31 EDT 2002


Thank you David and Jason for your help. Jason, I did search the archive for
references to my problem but did not find the reference that you provided.
Again, thank you. But I thought this list was to ask questions and get help
with mimedefang from people who may have been there before.

Thanks,

Ray

-----Original Message-----
From: mimedefang-admin at lists.roaringpenguin.com
[mailto:mimedefang-admin at lists.roaringpenguin.com]On Behalf Of Jason
Englander
Sent: Thursday, May 02, 2002 1:42 PM
To: mimedefang at lists.roaringpenguin.com
Subject: Re: [Mimedefang] make error


On Thu, 2 May 2002, Raymond Huning wrote:

> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libldap.so: undefined
> reference to `__dn_expand'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libldap.so: undefined
> reference to `__res_query'

There is an archive for this list, isn't there?

From: Jason Englander <jason at englanders.cc>
To: mimedefang at lists.roaringpenguin.com
Date: Tue, 16 Apr 2002 12:31:59 -0400 (EDT)
Subject: [Mimedefang] building MD against sendmail w/ ldapmap
Reply-To: mimedefang at lists.roaringpenguin.com

Just a FYI for anyone that uses LDAPMAP with sendmail that tries to build
MD.  If you get something like this when you run make:

gcc -g -O2 -Wall -Wstrict-prototypes -pthread
-DPERL_PATH=\"/usr/bin/perl\"
-DMIMEDEFANG_PL=\"/usr/local/bin/mimedefang.pl\" -DRM=\"/bin/rm\"
-DVERSION=\"2.7\"
-DSPOOLDIR=\"/var/spool/MIMEDefang/spool\"
-DQDIR=\"/var/spool/MIMEDefang/quarantine\"  -I/usr/include -c -o
mimedefang.o mimedefang.c
gcc -g -O2 -Wall -Wstrict-prototypes -pthread -o mimedefang mimedefang.o
/usr/lib/libmilter.a /usr/lib/libsmutil.a -lpthread -lnsl  -lsm -lldap
-llber
/usr/local/lib/libldap.so: undefined reference to `__dn_expand'
/usr/local/lib/libldap.so: undefined reference to `__res_query'
collect2: ld returned 1 exit status
make: *** [mimedefang] Error 1

...search the Makefile for -lldap and add -lresolv next to it.  It should
be in there twice.

  Jason


_______________________________________________
MIMEDefang mailing list
MIMEDefang at lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang




More information about the MIMEDefang mailing list