LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-20-2019, 11:12 PM   #1
kenw232
Member
 
Registered: May 2006
Posts: 125

Rep: Reputation: 12
Problem compiling clamav?


I'm trying to compile the latest ClamAV 0.101.2 on an older Slackware machine. it usually compiled fine. Now when compiling I get this error:

Code:
...
CC       libclamav_internal_utils_la-regfree.lo
CC       libclamav_internal_utils_la-strlcat.lo
CCLD     libclamav_internal_utils.la
CCLD     libclamav.la
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: cannot find -lLLVM-3.3
collect2: error: ld returned 1 exit status
make[4]: *** [libclamav.la] Error 1
make[4]: Leaving directory `/temp/clamav-0.101.2/libclamav'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/temp/clamav-0.101.2/libclamav'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/temp/clamav-0.101.2/libclamav'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/temp/clamav-0.101.2'
What is LLVM-3.3 and why do I need it all of a sudden? I'm currently runnning 0.99.1 fine.
 
Old 05-21-2019, 02:03 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
What is LLVM-3.3 and why do I need it all of a sudden? I'm currently runnning 0.99.1 fine.
LLVM
If you don't need it, you can add "--enable-llvm=no" in your ./configure script.

You didn't mention your Slackware version, but you could try to install the llvm official package, and/or install clamav from Slackbuilds

Regards
 
Old 05-30-2019, 04:27 PM   #3
scallions
LQ Newbie
 
Registered: May 2019
Posts: 1

Rep: Reputation: Disabled
LLVM for ClamAV is a JIT runtime to execute bytecode signatures. These are signatures that are functions that can do more complex things than just pattern matching and basic logical conditions.

The error you're seeing suggests that it thought it found a system-installed version of LLVM v3.3, but then when it went to link with the LLVM library it couldn't find it.

If you disable LLVM, as bathory suggested, it can still execute these signatures using ClamAV's bytecode interpreter instead of LLVM. It's a little slower than using LLVM to compile-and-run the bytecode signatures.

ClamAV also has a built-in version of LLVM if you want the speed advantage of LLVM but don't want to provide a system-installed version of LLVM. To use ClamAV's built-in version of LLVM, use "./configure --enable-llvm=yes --with-system-llvm=no"
 
  


Reply



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
Mimedefang clamav vs clamav-milter digitolx Linux - Server 0 10-20-2010 03:45 PM
file-scan-clamav-1.8 or clamav-0.93.1 invader44 Linux - Newbie 1 12-29-2009 08:49 AM
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
MailScanner and ClamAV Configuration problem AZIMBD03 Red Hat 1 01-29-2004 01:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

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
Open Source Consulting | Domain Registration