Andrea,
The errors you’re observing look to me like you have two versions of clamav installed. It looks like clamscan and freshclam are newer but are loading an older version of libclamav.
I would recommend attempting to locate and delete all versions of clamav, then reinstall just one version. As Matus suggested, the easiest option is to use: apt-get install clamav clamav-daemon
Regards,
Micah
From: clamav-users <clamav-users-bounces@lists.clamav.net>
On Behalf Of a.maccanti@kayser.it
Sent: Tuesday, March 16, 2021 7:39 AM
To: clamav-users@lists.clamav.net
Subject: [clamav-users] Can't install clamav correctly
Hi all,
I have a Variscite imx8mq board with Debian 10 OS (kernel v 4.19.35-gd472046-dirty), I tried to install ClamAV following the guide at
https://www.clamav.net/documents/installation-on-debian-and-ubuntu-linux-distributions but I couldn’t install the check-devel package (because it doesn’t exist anymore according to the Debian packages page) and the valgrind package because it depends on
the libc6-dbg package that I can’t install because it depends on the libc6 version 2.28-10, I already have the version 2.31-4 but I can’t downgrade it (see log attached).
So I decided to continue the procedure anyway and I was able to end it but I can’t actually do anything because I use the command freshclam I get the following error:
root@imx8mq-var-dart:~/clamav-0.103.1# freshclam
freshclam: symbol lookup error: freshclam: undefined symbol: check_flevel, version FRESHCLAM_PRIVATE
root@imx8mq-var-dart:~/clamav-0.103.1#
If I use the command clamscan I get the following error:
root@imx8mq-var-dart:~/clamav-0.103.1# clamscan -r --remove /media/USB1
ERROR: This tool requires libclamav with functionality level 122 or higher (current f-level: 115)
root@imx8mq-var-dart:~/clamav-0.103.1#
The clamav-freshclam service seems to be active, I will attach the freshclam and clamd conf files and the configuration logs.
How can I solve this issue?
Thanks in advance
Best Regards
Andrea