LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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-15-2018, 07:56 PM   #1
dtex23
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.

https://www.linuxquestions.org/quest...5D-4175531468/

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

yields

/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.
 
  


Reply

Tags
clamav


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

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

All times are GMT -5. The time now is 04:59 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