[yocto] Clamav fails at configure stage when including pcre

Mohammad, Jamal M MohammadJamal.Mohiuddin at ncr.com
Wed Oct 2 20:16:51 PDT 2019


Hi All,

To avoid lot of PCRE Warning messages which appear when we try to run 'clamscan'.

I have added the following line in my local.conf file to include PCRE support in clamav.

PACKAGECONFIG_append_pn-clamav = " pcre"

When I now build clamav using bitbake, it fails at the configuration stage with the following error:

| checking for X509_VERIFY_PARAM_new in -lssl... yes
| checking for libjson installation... no
| checking for pcre2-config... no
| checking for pcre-config... no
| configure: error: cannot locate libpcre2 or libpcre at /home/panther2/panther2_warrior/build/tmp/work/corei7-64-poky-linux/clamav/0.99.4-r0/recipe-sysroot/usr/lib64
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/panther2/panther2_warrior/build/tmp/work/corei7-64-poky-linux/clamav/0.99.4-r0/temp/log.do_configure.81033)

Can you please provide a solution to this problem.

Regards,
Jamal,
Software Specialist,
NCR Corporation

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20191003/6cc0f7ef/attachment.html>


More information about the yocto mailing list