Hi Brendan,

if I may - this looks like that You don't use a correct installation of the AIX 
toolbox.
We are also using it on AIX 7.2 and we don't face those troubles. So the 
package is working.

This is how it looks like on our machines - and Yes, we use yum for 
installation and ClamAV is just working fine most of the time. There are 
troubles with clamd because it loses the socket from time to time and needs a 
restart (but that's also the case on Linux systems).

# rpm -qa|grep -E "clam|vim"
clamav-0.103.11-1.ppc
vim-common-9.0.1649-1.ppc
vim-enhanced-9.0.1649-1.ppc

The RPM package is not the responsibility of the ClamAV developers - but it is 
of the IBM AIX toolbox people - so I would suggest to post the problem there - 
You might get better response because they know all about the dependencies - 
e.g. what are the minimum packages You will need to install for clamav to work. 

You can find that here: 
https://community.ibm.com/community/user/power/communities/community-home/digestviewer?communitykey=10c1d831-47ee-4d92-a138-b03f7896f7c9

Here is also a post where someone has a similar problem:
https://community.ibm.com/community/user/power/discussion/clamav-on-aix#bmd0e56c0c-17ae-4f68-96b1-9125ce60aa56

One of the toolbox guys replied with this link - maybe this helps because it is 
the same topic:
https://community.ibm.com/community/user/power/discussion/issue-with-dnf-updte-nothing-provides-libcryptoalibcryptoso11-needed-by-krb5-libs-1185-2ppc

Thanks 

Martin Rödlach 

-----Ursprüngliche Nachricht-----
Von: clamav-users <clamav-users-boun...@lists.clamav.net> Im Auftrag von 
Brendan Walsh via clamav-users
Gesendet: Freitag, 3. Mai 2024 20:49
An: Andrew C Aitchison <cla...@aitchison.me.uk>; Brendan Walsh via clamav-users 
<clamav-users@lists.clamav.net>
Cc: Brendan Walsh <bwal...@fbi.gov>; Brendan Walsh <brendanlwa...@gmail.com>
Betreff: Re: [clamav-users] [EXTERNAL EMAIL] - Re: ClamAV.0.103.11 as 
clamav-0.103.11-1.aix7.1.ppc.rpm fails to install on AIX7.2 on non AIX 
dependencies like vim

Hi Andrew,
  Thanks for responding.
I didn't think to see if dependencies were there - should have known though.
I can grab a couple. I also found the old Clam install dir for clamav-0.102. 
tits got some rpms that may be used.
IBM has this handy install option called 'install from all available'. Say if 
you want to install something like clamav in /software/clamav.  so you call it 
with that option and it checks the dependencies and looks thru all the files in 
the dir and uses any that are required.
Do you know if something like that available for yum or dnf?

I did see the dnf_aixtoolbox.sh to install dnf. I ran it but yum had already 
been upgraded yum to 3.4.3-7



-----Original Message-----
From: Andrew C Aitchison <cla...@aitchison.me.uk>
Sent: Thursday, May 2, 2024 5:37 PM
To: Brendan Walsh via clamav-users <clamav-users@lists.clamav.net>
Cc: Walsh, Brendan L. (FFD) (CON) <bwal...@fbi.gov>; Brendan Walsh 
<brendanlwa...@gmail.com>
Subject: [EXTERNAL EMAIL] - Re: [clamav-users] ClamAV.0.103.11 as 
clamav-0.103.11-1.aix7.1.ppc.rpm fails to install on AIX7.2 on non AIX 
dependencies like vim

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://urldefense.com/v3/__https://www.ibm.com/support/pages/node/883796__;!!PvTMCG4!NQfaKzny88EX7Td-VHo2spposcW0O4V1W-fj5_hxdcfTr4iWcBWhX6ODhHYbiGulfJTLMCuhPv8NG_1l0aBIG_iRnRLWMC4m$
>>      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://urldefense.com/v3/__https://www.ibm.com/support/pages/node/883796__;!!PvTMCG4!NQfaKzny88EX7Td-VHo2spposcW0O4V1W-fj5_hxdcfTr4iWcBWhX6ODhHYbiGulfJTLMCuhPv8NG_1l0aBIG_iRnRLWMC4m$
>>  >" .
>> 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://urldefense.com/v3/__https://www/__;!!PvTMCG4!NQfaKzny88EX7Td-V
> Ho2spposcW0O4V1W-fj5_hxdcfTr4iWcBWhX6ODhHYbiGulfJTLMCuhPv8NG_1l0aBIG_i
> Rnd-NZNCr$ 
> .ibm.com%2Fsupport%2Fpages%2Fnode%2F883796&data=05%7C02%7CBWALSH2%40fb
> i.gov%7Cdb9e31443a584397964808dc6af022c2%7C022914a9b95f4b7bbace551ce1a
> 04071%7C0%7C0%7C638502827816513865%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4
> wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C40000%7C%7C%
> 7C&sdata=MA0GRCEWNpR7Pca4jKyYQ%2Fm%2F%2Fs5isZ0izSSjp%2FQXqYk%3D&reserv
> ed=0
> 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://urldefense.com/v3/__https://lists.clamav.net/mailman/listinfo/clamav-users__;!!PvTMCG4!NQfaKzny88EX7Td-VHo2spposcW0O4V1W-fj5_hxdcfTr4iWcBWhX6ODhHYbiGulfJTLMCuhPv8NG_1l0aBIG_iRnTPUMUB2$
 


Help us build a comprehensive ClamAV guide:
https://urldefense.com/v3/__https://github.com/Cisco-Talos/clamav-documentation__;!!PvTMCG4!NQfaKzny88EX7Td-VHo2spposcW0O4V1W-fj5_hxdcfTr4iWcBWhX6ODhHYbiGulfJTLMCuhPv8NG_1l0aBIG_iRnUeUeINu$
 

https://urldefense.com/v3/__https://docs.clamav.net/*mailing-lists-and-chat__;Iw!!PvTMCG4!NQfaKzny88EX7Td-VHo2spposcW0O4V1W-fj5_hxdcfTr4iWcBWhX6ODhHYbiGulfJTLMCuhPv8NG_1l0aBIG_iRnfAxklbR$
 
_______________________________________________

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