On a new install of Debian 12, I am having a problem after installing the current version of freshclam (1.0.3+dfsg-1~deb12u1). When I run freshclam at the command line, I receive the following error.
I then went looking for a version of libclamav.so.9 that I could download and install, but came up empty. Getting desperate, I looked for libclamav.so.9 on some of my other servers and I found libclamav.so.9.0.5 on a Slackware server. I copied that file over to the Debian server and soft linked it to libclamav.so.9.
I then ran freshclam again, but instead of working, it resulted in a new error similar to the first error, only this time it could not find libclammspack.so.0.
A search on the same Slackware server found libclammspack.so.0.1.0, so I copied that over as well and soft linked it. This time when I ran freshclam it could not find libssl.so.1.1. At that point I decided not to go further as there are probably even more dependencies involved and went back to searching the web.
I thought I had found success at last when I found libclamav9_0.103.10+dfsg-0+deb11u1_amd64.deb at pkgs.org, but that came up with missing dependencies as well during the install. I have now given up trying to make freshclam work with libclamav.so.9 and am looking for another way forward.
At first blush, it would appear that libclamav for Debian was updated, but freshclam was not, However, I find that hard to believe since a search of this forum does not indicate anyone else is having a similar problem. Hopefully some kind person will show me the error of my ways with libclamav.so.11, and I will only have to wipe some egg off my face, while I am applying the fix.
A search of the server for libclamav* reveals that instead of libclamav.so.9 being installed, libclamav.so.11 was installed. A further search of the web to solve the problem resulted in suggestions that perhaps the permissions might need to be changed, that the user and group might need to be changed, and that running ldconfig might work, but none of those suggestions helped.freshclam: error while loading shared libraries: libclamav.so.9: cannot open shared object file: No such file or directory.
I then went looking for a version of libclamav.so.9 that I could download and install, but came up empty. Getting desperate, I looked for libclamav.so.9 on some of my other servers and I found libclamav.so.9.0.5 on a Slackware server. I copied that file over to the Debian server and soft linked it to libclamav.so.9.
I then ran freshclam again, but instead of working, it resulted in a new error similar to the first error, only this time it could not find libclammspack.so.0.
A search on the same Slackware server found libclammspack.so.0.1.0, so I copied that over as well and soft linked it. This time when I ran freshclam it could not find libssl.so.1.1. At that point I decided not to go further as there are probably even more dependencies involved and went back to searching the web.
I thought I had found success at last when I found libclamav9_0.103.10+dfsg-0+deb11u1_amd64.deb at pkgs.org, but that came up with missing dependencies as well during the install. I have now given up trying to make freshclam work with libclamav.so.9 and am looking for another way forward.
At first blush, it would appear that libclamav for Debian was updated, but freshclam was not, However, I find that hard to believe since a search of this forum does not indicate anyone else is having a similar problem. Hopefully some kind person will show me the error of my ways with libclamav.so.11, and I will only have to wipe some egg off my face, while I am applying the fix.
Statistics: Posted by PK232 — 2024-01-17 20:39 — Replies 2 — Views 85