在 Amazon Linux 中使用 pcre 安装 clamav

在 Amazon Linux 中使用 pcre 安装 clamav

当我们在 Amazon Linux ElasticBeanstalk 实例中安装 ClamAV 时,yum install clamav虽然实例中存在库,但它安装时不支持 PCRE。

LibClamAV Warning: cli_loadldb: logical signature for Win.Trojan.ssid18332-1 
uses PCREs but support is disabled, skipping
LibClamAV Warning: cli_loadldb: logical signature for Win.Ransomware.Locky-4 
uses PCREs but support is disabled, skipping
LibClamAV Warning: cli_loadldb: logical signature for Html.Exploit.CVE_2016_0184-1 
uses PCREs but support is disabled, skipping

但是机器上安装了 PCRE:

# yum install pcre
...
Package pcre-8.21-7.7.amzn1.x86_64 already installed and latest version
Nothing to do

扫描也非常慢。

如何强制 ClamAV 使用/识别 Elastic Beanstalk 机器中安装的 PCRE 库?

谢谢!

相关内容