mainSpamAssassin Milter Plugin - Support: sr #104478, ./configure file cannot find...


sr #104478: ./configure file cannot find libmilter

Submitter:  None
Submitted:  Tue 19 Jul 2005 09:31:27 PM UTC
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  dnelson
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup

Jump to the original submission

Fri 05 Aug 2005 08:13:11 PM UTC, comment #8: 

k, figured it out ......

copied the libmilter directory I created from sendmail source to the /usr/lib directory (ie /usr/lib/libmilter), then copied the include/libmilter directory into /usr/include directory (ie /usr/include/libmilter).

All works!!!

checking for mi_stop in -lmilter... yes
checking libmilter/mfapi.h usability... yes
checking libmilter/mfapi.h presence... yes
checking for libmilter/mfapi.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating contrib/spamass-milter.spec
config.status: creating spamass-milter.1
config.status: creating config.h
config.status: executing depfiles commands

Thu 04 Aug 2005 08:10:29 AM UTC, comment #7: 

Here is the path to


Thu 04 Aug 2005 08:09:35 AM UTC, comment #6: 

ooohhhh boy...

now get the following;

checking for mi_stop in -lmilter... yes
checking libmilter/mfapi.h usability... no
checking libmilter/mfapi.h presence... no
checking for libmilter/mfapi.h... no
configure: error: Please install mfapi.h from the sendmail distribution

Wed 03 Aug 2005 08:37:35 PM UTC, comment #5: 

Tell configure about that path by setting LDFLAGS="-L/var/files/rpm/other_files/sendmail-8.13.1/obj.Linux."
before running configure, or as you run it:

LDFLAGS="-L/var/blah/blah" ./configure

Dan Nelson <dnelson>
Group administrator
Wed 03 Aug 2005 07:51:37 PM UTC, comment #4: 

Hi Dan,

Grabbed the source and created the libmilter.a file.  Hereis the path...

Here is the config.log info;
configure:7084: checking for mi_stop in -lmilter
configure:7114: g++ -o conftest -g -O2 -Wall -fno-default-inline -fno-inline -pthread -lmilter    >&5
/usr/bin/ld: cannot find -lmilter
collect2: ld returned 1 exit status
configure:7120: $? = 1
configure: failed program was:
| /* confdefs.h.  */

Wed 20 Jul 2005 03:03:59 PM UTC, comment #3: 

Thanks, the Mandrake installation installs the milter support but does not install the library files and I can't seem to find any source packages.  I am trying to source these.....

Tue 19 Jul 2005 09:56:01 PM UTC, comment #2: 

Sorry; the file to check is config.log, not configure.log.

Dan Nelson <dnelson>
Group administrator
Tue 19 Jul 2005 09:54:13 PM UTC, comment #1: 

It's possible sendmail was built with milter support but Mandrake didn't install the milter library itself.  Check and see if you have a libmilter.a file anywhere on the system, and if not, install it (hopefully mandrake provided a sendmail-milter rpm or whatever format it uses).

If you do have a libmilter file, please give me the location of the file on your system and paste in the part of configure.log just after "checking for mi_stop in -lmilter...".  There should be a gcc command and a link error.

Dan Nelson <dnelson>
Group administrator
Tue 19 Jul 2005 09:31:27 PM UTC, original submission:  

I am trying to install the spamass-milter on Mandrake 10.1 with sendmail 8.13 which has Milter support;
sendmail -d0 < /dev/null | grep MILTER

 The config file keeps on stopping at the following error;
checking for mi_stop in -lmilter... no
checking for library containing strlcpy... no
checking for mi_stop in -lmilter... no
configure: error: Cannot find libmilter

How do I get around this to continue the installation?





(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.


Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-07-19 dnelson Assigned toNone dnelson
2005-07-19 None Carbon-Copy- Added gordon --AT-- itnt --DOT-- co --DOT-- za

Back to the top

Powered by Savane 3.13-04b1.
Corresponding source code