LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-11-2005, 04:04 AM   #1
ddaas
Member
 
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 472

Rep: Reputation: 30
ClamAV installation problem - Cannot find libmilter


I want to install ClamAV 0.82 with milter support.
I got the following error from ./configure script:

checking whether setpgrp takes no argument... yes
checking for __gmpz_init in -lgmp... yes
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


It says it cannot find libmilter.

Then I checked if sendmail was build with milter support:


Version 8.12.8
Compiled with: DNSMAP HESIOD HES_GETMAILHOST LDAPMAP LOG MAP_REGEX
MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6
NETUNIX NEWDB NIS PIPELINING SASL SCANF STARTTLS TCPWRAPPERS
USERDB USE_LDAP_INIT




It seems that sendmail has been compiled with milter support.


Then I looked for libmilter directory and there was none.




So, what is the problem ? How do I solve it? Do I have milter support or not ?



thanks,
ddaas
 
Old 02-11-2005, 05:27 AM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
do you have libmilter anywhere on your system. all configure is doing is compiling a small program and linking it with libmilter (which is what -lmilter means) looking for certain functions. The error you are getting is either ld (the linker) cannot find libmilter or ld cannot find a needed function in libmilter (which means you'll need to change the version to the one it needs).
 
Old 02-11-2005, 12:14 PM   #3
ddaas
Member
 
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 472

Original Poster
Rep: Reputation: 30
I solved the problem installing from rpms.
Thanks.
 
Old 03-30-2005, 12:23 AM   #4
flander
LQ Newbie
 
Registered: Mar 2005
Posts: 1

Rep: Reputation: 0
I am having the same exact problem. I do not have a libmilter folder anywhere. I just tried the solution that ddaas did, that is, re-installing the rpm's but I still don't have any library's

ddaas, can you elaborate with how you solved this?

Last edited by flander; 03-30-2005 at 12:26 AM.
 
Old 04-06-2005, 06:41 AM   #5
carstenvoss
LQ Newbie
 
Registered: Mar 2005
Location: Melbourne, Australia
Distribution: Redhat/Suse
Posts: 1

Rep: Reputation: 0
Hey Flander - libmilter is in the sendmail-devel rpm
 
Old 07-05-2005, 09:59 AM   #6
tifkat
Member
 
Registered: May 2002
Location: Perth, Australia
Distribution: Slack, RH, *BSD, Tru64/DECUnix/OSF1/Ultrix, Solaris/SunOS...
Posts: 36

Rep: Reputation: 16
I have the same problem:

Code:
checking for curl >= 7.10.0... 7.14.0
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
but.. I have libmilter installed ok:

Code:
root@crow:/usr/local/src/clamav-0.86.1# find / -name libmilter* -print
/usr/doc/sendmail-8.13.3/libmilter
/usr/lib/libmilter.a
/usr/include/libmilter
Code:
root@crow:/usr/local/src/clamav-0.86.1# ls -al /usr/lib | grep libmilter
-rw-r--r--    1 root root   51636 2005-07-05 22:05 libmilter.a
root@crow:/usr/local/src/clamav-0.86.1# ls -al /usr/include | grep libmilter
drwxr-xr-x   2 root root     96 2005-01-28 01:52 libmilter/
root@crow:/usr/local/src/clamav-0.86.1# ls -al /usr/include/libmilter/
total 30
drwxr-xr-x   2 root root    96 2005-01-28 01:52 ./
drwxr-xr-x  64 root root  9024 2005-01-28 01:52 ../
-rw-r--r--   1 root root 13830 2004-08-21 05:24 mfapi.h
-rw-r--r--   1 root root  3725 2004-07-08 05:41 mfdef.h
As you can see, I'm trying to compile clamav 0.86.1. I'm running slackware 10.1, sendmail 8.13.3 (as ships with slack 10.1)

Any ideas?

tifkat

Last edited by tifkat; 07-05-2005 at 10:35 AM.
 
Old 07-05-2005, 10:55 AM   #7
tifkat
Member
 
Registered: May 2002
Location: Perth, Australia
Distribution: Slack, RH, *BSD, Tru64/DECUnix/OSF1/Ultrix, Solaris/SunOS...
Posts: 36

Rep: Reputation: 16
Looking through config.log, it would seem that libmilter.a was compiled using pthreads and I was trying to compile clamav with --disable-pthreads.

With pthreads enabled, configure completes okay.

I disabled pthreads, thinking of nptl threads... which slackware doesn't support in 10.1.

Hope this might help anyone who has similar problems.

tifkat
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apollon installation problem in Mandrake 10.1 - can't find ltdl BovineStargazer Linux - Newbie 7 11-12-2005 04:45 PM
exim/clamav problem overlord73 Linux - Software 0 04-13-2005 05:42 AM
clamav, problem with make AVD_ZM Linux - Software 0 02-11-2005 12:45 PM
clamav - dazuko install problem ssfrstlstnm Debian 2 01-30-2005 11:15 AM
Uninstall problem with clamav Wynand1 Linux - Software 1 09-15-2004 02:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration