Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 02-15-2018, 08:56 PM   #1
LQ Newbie
Registered: Nov 2010
Location: Tampa, FL
Distribution: LFS
Posts: 6

Rep: Reputation: 0
ClamAV and Milter compilation errors [SOLVED]

I apparently am the only one to have ever had problems building ClamAV and milter, or just the only one to post... I went searching Google for the problem and found my own solution from long ago. I am hoping this helps someone else other than me, again, in another three years!

So, I'm building a new system using Linux From Scratch (again) and building ClamAV and milter (again) - new versions from ClamAV-0.99.3 and Sendmail-8-15.2, and ran into the same problems that I had a little more than three years ago. See the link below for the basic premise.

After doing everything in my past self's note to myself, Clam is not compiling again due to missing libraries in LDAP.
Configuring with
./configure --prefix=/usr --sysconfdir=/etc --enable-milter --enable-experimental --with-user=clamav --with-group=clamav --enable-llvm=no


/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/libmilter.a(errstring.o): In function `sm_errstring':
errstring.c.text+0x53f): undefined reference to `ldap_err2string'

Apparently the configure script is not adding to the LDFLAGS in clamav-milter/Makefile. Make Makefile line 315 say
"LDFLAGS = -lldap"
and it compiles without error.

I turned off LLVM because there was an error... I think I am tracking that one down next.

Good night all, I hope that someone else finds this useful.



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
Is clamav-milter compatible with Postfix? Altiris Slackware 4 08-02-2015 01:54 PM
Mimedefang clamav vs clamav-milter digitolx Linux - Server 0 10-20-2010 04:45 PM
Clamav-Milter Issues (messages not being processed) jon3k Linux - Server 0 08-28-2006 06:31 PM
Problem with amavis-milter + sendmail + clamav bhaveshvv109 Linux - General 0 06-21-2006 08:56 AM
Amavisd-new: Interface to Sendmail milter + ClamAV cyberjames Slackware 0 02-07-2005 02:41 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:55 AM.

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