[clamav-users] Fwd: MacOS ClamAV Configuration Errors

eric-list at truenet.com eric-list at truenet.com
Wed Nov 11 21:09:31 UTC 2020


Sorry just noticed the last line.  If you want to use check, you’ll need to install it.

#brew install check

 

After that, it should build fine...

 

From: clamav-users <clamav-users-bounces at lists.clamav.net> On Behalf Of eric-list at truenet.com
Sent: Wednesday, November 11, 2020 3:57 PM
To: 'ClamAV users ML' <clamav-users at lists.clamav.net>
Subject: Re: [clamav-users] Fwd: MacOS ClamAV Configuration Errors

 

Wayne,

 

Since it looks like you are using homebrew, why not just install that:

eric at Erics-Mac-Pro ~ % brew info clamav

clamav: stable 0.103.0 (bottled), HEAD

Anti-virus software

https://www.clamav.net/

/usr/local/Cellar/clamav/0.103.0 (62 files, 448.2MB) *

  Poured from bottle on 2020-09-16 at 07:25:03

 

The error however is just a quirk of Clang on macOS, so can be disregarded.

It should build fine without the flag.

 

From: clamav-users <clamav-users-bounces at lists.clamav.net <mailto:clamav-users-bounces at lists.clamav.net> > On Behalf Of Wayne Ho via clamav-users
Sent: Wednesday, November 11, 2020 3:24 PM
To: clamav-users at lists.clamav.net <mailto:clamav-users at lists.clamav.net> 
Cc: Wayne Ho <xintuition at gmail.com <mailto:xintuition at gmail.com> >
Subject: [clamav-users] Fwd: MacOS ClamAV Configuration Errors

 

Hi,

 

I am currently a ClamXav user looking to switch over the CLI scanner.  I have been the installation guide https://www.clamav.net/documents/installation-on-macos-mac-os-x, but I am getting the following configuration error:

 

Waynes-Mac:clamav-0.103.0 wayne$     ./configure --with-openssl=/usr/local/Cellar/openssl at 1.1/1.1.1h <mailto:--with-openssl=/usr/local/Cellar/openssl at 1.1/1.1.1h>   --with-zlib=/usr/local/Cellar/zlib/1.2.11/ --with-libjson=yes --enable-check > ~/desktop/clamav-config.err
clang: error: unsupported option '-print-multi-os-directory'
clang: error: no input files
rm: conftest.so.dSYM: is a directory
configure: error: 

ERROR!  Check was configured, but not found.  Get it from http://check.sf.net/

 

Note that only stderr is displayed for brevity. I am still relatively new to CLI tools, so any assistance would be appreciated.

 

Thanks,

 

Wayne

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20201111/e4c8c027/attachment.htm>


More information about the clamav-users mailing list