Hi,
A newer version of GCC should solve the problem, but you may be able to resolve
it with the old GCC as well. Some other users have reported mixed results in
this discussion: https://github.com/Cisco-Talos/clamav/issues/1017
The most recent comment states:
Personally it works for me when I run it like this:
./configure CXXFLAGS='-std=c++11'
If you're wondering what changed that is causing this issue, the reason is that
we had to upgrade to a newer version of UnRAR for extracting RAR archives
because of a CVE in the UnRAR library. And the newer version of UnRAR is now
using some C++ 11 features that do not work with the default settings for older
versions of GCC.
Regards,
Micah
Regards,
Micah
Micah Snyder
ClamAV Development
Talos
Cisco Systems, Inc.
________________________________
From: clamav-users <[email protected]> on behalf of Andrew
C Aitchison via clamav-users <[email protected]>
Sent: Friday, October 13, 2023 12:34 PM
To: ClamAV users ML <[email protected]>
Cc: Andrew C Aitchison <[email protected]>; [email protected] <[email protected]>
Subject: Re: [clamav-users] Error installing from source
On Fri, 13 Oct 2023, Paul Netpresto wrote:
> HI
>
> You need to find a later version of GCC for your servers.
>
> I had a similar problem with some legacy Ubuntu machines. Fortunately an
> upgrade to GCC 7.5 was available in the Ubuntu release archive.
For CentOS 6 the devtoolset-7 suite will give you gcc-7.3.1
I never used CentOS 7, RHEL7 or other clones, but newer versions of gcc
are available for that too.
--
Andrew C. Aitchison Kendal, UK
[email protected]
_______________________________________________
Manage your clamav-users mailing list subscription / unsubscribe:
https://lists.clamav.net/mailman/listinfo/clamav-users
Help us build a comprehensive ClamAV guide:
https://github.com/Cisco-Talos/clamav-documentation
https://docs.clamav.net/#mailing-lists-and-chat
_______________________________________________
Manage your clamav-users mailing list subscription / unsubscribe:
https://lists.clamav.net/mailman/listinfo/clamav-users
Help us build a comprehensive ClamAV guide:
https://github.com/Cisco-Talos/clamav-documentation
https://docs.clamav.net/#mailing-lists-and-chat