Installation of clamd at AlmaLinux 10

Hello,

are you able to propperly use clamd package at Alma Linux 10.0. I have enabled epel and installed package clamd-1.4.3-1.el10_1.x86_64.
The problem is that I took openssl error:
/usr/sbin/clamd: symbol lookup error: /lib64/libclamav.so.12: undefined symbol: EVP_MD_CTX_get_size_ex, version OPENSSL_3.4.0

I have got only openssl 3.2.2 at my system:

openssl version

OpenSSL 3.2.2 4 Jun 2024 (Library: OpenSSL 3.2.2 4 Jun 2024)

Do you know way how to propperly install clamd?

Thank you for a response.

Lukáš

Hello

My clamd version is “1.4.2”.
However, yours is “1.4.3”.

I also checked the EPEL test repository,
but “1.4.3” isn’t available there.

What happens when you run yum list clamd?

[root@alma10 yum.repos.d]# yum list clamd
AlmaLinux 10 - AppStream                                                                                                                                     682 kB/s | 2.1 MB     00:03
AlmaLinux 10 - BaseOS                                                                                                                                        3.8 MB/s |  12 MB     00:03
AlmaLinux 10 - CRB                                                                                                                                           413 kB/s | 484 kB     00:01
AlmaLinux 10 - Extras                                                                                                                                         12 kB/s |  11 kB     00:00
Docker CE Stable - x86_64                                                                                                                                     36 kB/s |  12 kB     00:00
Extra Packages for Enterprise Linux 10 - x86_64                                                                                                              1.9 MB/s | 4.7 MB     00:02
Extra Packages for Enterprise Linux 10 - Testing - x86_64                                                                                                     96 kB/s | 149 kB     00:01
Installed Packages
clamd.x86_64                                                                               1.4.2-1.el10_0                                                                               @epel
[root@alma10 yum.repos.d]#

I am getting the same error starting clamd.

[root@vm ~]# clamd --version
clamd: symbol lookup error: /lib64/libclamav.so.12: undefined symbol: EVP_MD_CTX_get_size_ex, version OPENSSL_3.4.0
[root@vm ~]# yum list clamd
Last metadata expiration check: 0:03:05 ago on Wed 17 Sep 2025 12:51:29 AM EDT.
Installed Packages
clamd.x86_64                                                                                             1.4.3-1.el10_1                                                                                             @epel
[root@vm ~]# dnf --showduplicates list clamd
Last metadata expiration check: 0:01:15 ago on Wed 17 Sep 2025 12:51:29 AM EDT.
Installed Packages
clamd.x86_64                                                                                             1.4.3-1.el10_1                                                                                             @epel
Available Packages
clamd.x86_64                                                                                             1.4.3-1.el10_1                                                                                             epel 
[root@vm ~]# cat /etc/almalinux-release
AlmaLinux release 10.0 (Purple Lion)
[root@vm ~]# dnf --showduplicates list openssl
Last metadata expiration check: 0:06:34 ago on Wed 17 Sep 2025 12:51:29 AM EDT.
Installed Packages
openssl.x86_64                                                                                       1:3.2.2-16.el10.alma.1                                                                                       @System
Available Packages
openssl.x86_64                                                                                       1:3.2.2-16.el10.alma.1                                                                                       baseos 

Hello
When I tried to build clamav-1.4.3-1.el10.src.rpm using mock, Therefore, there may be some problem on the epel side.
Feedback is needed from epel.

p.s
I reported a bug in epel
https://bugzilla.redhat.com/show_bug.cgi?id=2396096

[root@alma10 yum.repos.d]# mock -r epel-10-x86_64 /root/rpmbuild/SRPMS/clamav-1.4.3-1.el10.src.rp

Wrote: /builddir/build/SRPMS/clamav-1.4.3-1.el10.src.rpm
Wrote: /builddir/build/RPMS/clamav-freshclam-1.4.3-1.el10.x86_64.rpm
Wrote: /builddir/build/RPMS/clamav-lib-debuginfo-1.4.3-1.el10.x86_64.rpm
Wrote: /builddir/build/RPMS/clamav-freshclam-debuginfo-1.4.3-1.el10.x86_64.rpm
Wrote: /builddir/build/RPMS/clamav-1.4.3-1.el10.x86_64.rpm
Wrote: /builddir/build/RPMS/clamav-devel-1.4.3-1.el10.x86_64.rpm
Wrote: /builddir/build/RPMS/clamav-lib-1.4.3-1.el10.x86_64.rpm
Wrote: /builddir/build/RPMS/clamav-doc-1.4.3-1.el10.noarch.rpm
Wrote: /builddir/build/RPMS/clamd-debuginfo-1.4.3-1.el10.x86_64.rpm
Wrote: /builddir/build/RPMS/clamd-1.4.3-1.el10.x86_64.rpm
Wrote: /builddir/build/RPMS/clamav-milter-debuginfo-1.4.3-1.el10.x86_64.rpm
Wrote: /builddir/build/RPMS/clamav-milter-1.4.3-1.el10.x86_64.rpm
Wrote: /builddir/build/RPMS/clamav-filesystem-1.4.3-1.el10.noarch.rpm
Wrote: /builddir/build/RPMS/clamav-debugsource-1.4.3-1.el10.x86_64.rpm
Wrote: /builddir/build/RPMS/clamav-data-1.4.3-1.el10.noarch.rpm
Wrote: /builddir/build/RPMS/clamav-debuginfo-1.4.3-1.el10.x86_64.rpm

RPM build warnings:
    ignoring unsupported sysuser type: m
    ignoring unsupported sysuser type: m
    ignoring unsupported sysuser type: m
    ignoring unsupported sysuser type: m
Finish: rpmbuild clamav-1.4.3-1.el10.src.rpm
Finish: build phase for clamav-1.4.3-1.el10.src.rpm
INFO: Done(/root/rpmbuild/SRPMS/clamav-1.4.3-1.el10.src.rpm) Config(epel-10-x86_64) 15 minutes 21 seconds
INFO: Results and/or logs in: /var/lib/mock/centos-stream+epel-10-x86_64/result
Finish: run

Hello, I have tried various solutions, but I think there are still risks in using openssl 3.4, so I recommend using 1.4.2. Here is how to downgrade:

sudo dnf remove clamd clamav-lib clamav-freshclam -y
sudo dnf install clamd-1.4.2-1.el10_0
clamav-lib-1.4.2-1.el10_0
clamav-freshclam-1.4.2-1.el10_0

Is there any Solution other than using old Version yet? :thinking:

ok - update - updated AlmaLinux 10.0 to 10.1 - and it’s working now … ^^

1 Like