Ed Kasky wrote:
On Wed, 22 Jun 2005, Nigel Horne wrote:

At 09:19 PM Tuesday, 6/21/2005, Nigel Horne wrote -=>

On Tuesday 21 Jun 2005 19:28, Ed Kasky wrote:

I am experiencing a problem when trying to compile 0.86 with milter

that

sems to be happening only in this release.  0.85.1 compiles no problem

on

the same system.

With 0.86 I get the following running "make":
/usr/src/clamav-0.86/clamav-milter/clamav-milter.c:1577: undefined
reference to `smfi_opensocket'
collect2: ld returned 1 exit status
make[2]: *** [clamav-milter] Error 1
make[2]: Leaving directory `/usr/src/clamav-0.86/clamav-milter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/clamav-0.86'

My searches indicated that this is related to sendmail's mfapi.h.  I

am

running sendmail 8.13.3.  There is only one instance of the file

(aside

from the src) at:
-rw-r--r-- 1 root root 13830 Aug 20 2004

/usr/include/libmilter/mfapi.h

Did you (re-)install sendmail from source?


Yes.  Sendmail is one of the things I always install from source.

For some reason,  re-installing sendmail fixed the problem that seems to
have popped up between 0.85.1 and 0.86.


The problem was that your mfapi.h was not in sync with your version of
sendmail.

When you installed sendmail prior to your reinstallation yesterday, did
you remember to (re-)install libmilter?


I had assumed based on my reading that building sendmail with milter functionality installed libmilter. That didn't happen with 8.13.3.

I went ahead and did a build and install in the libmilter folder as well just in case this time.

Thanks for the tip.

Ed
. . . . . . . . . . . . . . .
Randomly generated quote:
"Reason often makes mistakes, but conscience never does."
- Josh Billings
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html


Just a tip. Whenever you install a new sendmail, change the top level Makefile so that libmilter is included in SUBDIRS. That way "sh Build -c" in the top level directory will always include libmilter.

--
STRESS('stres)n:
      that confusion created when one's mind overrides the desire to
      choke the living daylights out of some jerk who really deserves it.

http://www.maidment.com.au
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to