On Thu, 2 May 2024, Andrew C Aitchison wrote (but the list bounced):

On Thu, 2 May 2024, Brendan Walsh via clamav-users wrote:

Hi guys,

I have been trying to install the IBM version of ClamAV.0.103.11 which I downloaded from IBMs open source page : https://www.ibm.com/support/pages/node/883796 which is IBM's official site for downloading GNU and open source tools and packages for AIX. The downloaded package is - clamav-0.103.11-1.aix7.1.ppc.rpm and our servers are at AIX 7.2, which is old enough , but clearly this package is even older still. But since this package has extended support and we need a recognized AV for security scans, this is thought to be a viable solution. And it was up thru version 0.102 which no longer has access to DB downloads. :-( ...

So I downloaded clamav-0.103.11-1.aix7.1.ppc.rpm from IBM's "AIX Toolbox for Open Source Software<https://www.ibm.com/support/pages/node/883796>" . Trying to install after unpacking I get a litany of complaints about failed dependencies - notably libcrypto.a(libcrypto.so.1.1). I extracted the file from openssl3 and added it to libcrypto.a but its still failing.

libssl1.1 is likely to be in a package like openssl1.1 rather than openssl3.
That may be tricky as openssl < 3 went end-of-life in September 2023,
though premium support is still available ...

clamav 0.102 also uses openssl v1.something. Does that help ?

Extracting the file from another package and adding it *may* help the
program to run, but it wont satisfy the rpm installer.

It also wants to add vim

??? I can only guess why clamav "requires" vim.

    which we don't have because it's for GNU LINUX.

I see packages for most of the missing dependencies, including vim
but not openssl, listed on the IBM page you list.

I note that you have
 xz-libs = 5.2.5-1 is needed by (installed) xz-5.2.5-1.ppc
whereas my list of required packages below has
 xz-libs >= 5.4.3
so that should be updated from
 https://www.ibm.com/support/pages/node/883796
too.

--------------------

I have two x86_64 machines with rpm (running Ubuntu and Scientific Linux 6 !)
On both of them
   rpm -qp --requires clamav-0.103.11-1.aix7.1.ppc.rpm
gives me exactly the same result, so I think this is the definitive list
of files and packages that clamav-0.103.11-1.aix7.1.ppc.rpm reqires:

/bin/sh
bzip2 >= 1.0.8
curl >= 8.4.0
json-c >= 0.15
libbsd.a(shr.o)
libbsd.a(shr_64.o)
libbz2.a(libbz2.so.1)
libc.a(shr.o)
libc.a(shr_64.o)
libclamav.a(libclamav.so.9)
libclammspack.a(libclammspack.so.0)
libclamunrar.a(libclamunrar.so.9)
libcrypto.a(libcrypto.so.1.1)
libcurl.a(libcurl.so.4)
libfreshclam.a(libfreshclam.so.2)
libgcc >= 10.3.0
libgcc_s.a(shr.o)
libiconv >= 1.17
libiconv.a(libiconv.so.2)
libjson-c.a(libjson-c.so.5)
liblzma.a(liblzma.so.5)
libncurses.a(libncurses.so.6)
libpcre2-8.a(libpcre2-8.so.0)
libpthread.a(shr_comm.o)
libpthread.a(shr_xpg5.o)
libpthread.a(shr_xpg5_64.o)
libssl.a(libssl.so.1.1)
libstdc++ >= 10.3.0
libstdc++.a(libstdc++.so.6)
libtool-ltdl >= 2.4.7
libxml2 >= 2.10.4
libxml2.a(libxml2.so.2)
libz.a(libz.so.1)
ncurses >= 6.4
pcre >= 8.44
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
xz-libs >= 5.4.3
zlib >= 1.2.13

--
Andrew C. Aitchison                      Kendal, UK
                  and...@aitchison.me.uk


--
Andrew C. Aitchison                      Kendal, UK
                   and...@aitchison.me.uk
_______________________________________________

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

Reply via email to