Re: ClamAV 1.4 and RHEL7 problem

"Val Snyder \(micasnyd\) via clamav-users" <[email protected]> Wed, 12 Mar 2025 21:26:01 +0000
Newsgroups gmane.comp.security.virus.clamav.user
Message-ID <CH3PR11MB87501AE0ADF47F245A6EB3FBC6D02@CH3PR11MB8750.namprd11.prod.outlook.com>
Hello!

Red Hat Enterprise Linux (RHEL) 7 (and CentOS 7 - which is what we had used) reached the end of its maintenance support phase (EOM) on June 30, 2024, and no longer receives regular updates including critical security patches and bug fixes.

We no longer use CentOS 7 in our build systems. As you found, the RPM's we provide will no longer run on RHEL 7 or CentOS 7.
If you're stuck on RHEL 7, you may have success building ClamAV from source, either an RPM as described in the link you shared, or else to install directly as described here https://docs.clamav.net/manual/Installing/Installing-from-source-Unix.html

Regards,
Val



Val Snyder (they/them)
ClamAV Development
Talos
Cisco Systems, Inc.

________________________________
From: clamav-users <[email protected]> on behalf of Yang, ChengFu via clamav-users <[email protected]>
Sent: Wednesday, March 12, 2025 4:35 PM
To: [email protected] <[email protected]>
Cc: Yang, ChengFu <[email protected]>
Subject: [clamav-users] ClamAV 1.4 and RHEL7 problem

Hello guys,

we have ClamAV1.3 installation (rpm package) on RHEL7/8/9, however with ClamAV1.4 coming, it can not run on RHEL7.

The error message is
Mar 12 10:08:10 zcahqt01 clamd[28408]: /usr/local/sbin/clamd: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /usr/local/lib64/libclamav.so.11)
Mar 12 10:08:10 zcahqt01 clamd[28408]: /usr/local/sbin/clamd: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /usr/local/lib64/libclamav.so.11)
Mar 12 10:08:10 zcahqt01 clamd[28408]: /usr/local/sbin/clamd: /lib64/libc.so.6: version `GLIBC_2.27' not found (required by /usr/local/lib64/libclamav.so.11)
Mar 12 10:08:10 zcahqt01 clamd[28408]: /usr/local/sbin/clamd: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by /usr/local/lib64/libclamav.so.11)
Mar 12 10:08:10 zcahqt01 clamd[28408]: /usr/local/sbin/clamd: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /usr/local/lib64/libclamav.so.11)
Mar 12 10:08:10 zcahqt01 systemd[1]: clamav-daemon.service: main process exited, code=exited, status=1/FAILURE

From what I check, on RHEL7, there is such GLIBC version
0 ✓ root@zcahqt01 /home/jade/p931548
# strings /usr/lib/libstdc++.so.6 | grep GLIBC
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBC_2.3
GLIBC_2.0
GLIBC_2.4
GLIBC_2.1
GLIBC_2.1.3
GLIBC_2.3.2
GLIBC_2.2
GLIBCXX_DEBUG_MESSAGE_LENGTH

I believe the problem is coming from the compiling done higher RHEL version, instead of RHEL7 currently under ELS.

Can you compile and build the  RPM package on RHEL7, as your suggestion on https://docs.clamav.net/manual/Development/build-installer-packages.html

-----
My mailbox is almost full, please don't send pictures or big files to me.
--
Yang, Chengfu
Linux Administrator, RTX account
DXC Technology
T. +1.450.677.9411 ext. 75846
W. +1 289-785-6177
[email protected]

dxc.com

---------
Master say we are just visitors of the earth.
Be Safe, Be healthy and Be joyful


_______________________________________________

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