I am not sure how yum installer works. I know that the lib.a files are shared library, an archive, which hold abc.a files. Like a tar file, tar=TapeArchive. You can list the contents of a .a file with ar. ar -t /usr/lib/libcrypto.a should show a few libcrypto.so files. So yum didn't see the version it wanted in /usr/lib/libcrypto.a, which was libcrypto.so.1.1. which I found in openssl-3.0.10.1002/openssl.base. It's a backup/restore file -IBM format - so I used restore -Tqvf ./openssl.base |grep crypto to see if it was there and restore -xqvf ./openssl /usr/lib/libcrypto.a To get it out and the ar to add to lib.a
Wow - later than I thought. Thanks for your help Hope we can do more next week -Brendan -----Original Message----- From: Andrew C Aitchison <cla...@aitchison.me.uk> Sent: Friday, May 3, 2024 5:00 PM To: Walsh, Brendan L. (FFD) (CON) <bwal...@fbi.gov> Cc: ClamAV users ML <clamav-users@lists.clamav.net>; Brendan Walsh <brendanlwa...@gmail.com> Subject: 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 On Fri, 3 May 2024, Brendan Walsh wrote: > 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 don't remember yum being able to read packages from a directory rather than a full-blown repo. DNF came in after I switched to Ubuntu. Sorry. > Hi - I also meant to ask what you meant about not satisfying the > installer I thought it said it looked in that lib archive ? >>> I extracted the file from openssl3 and added it to libcrypto.a but >>> its still failing. >> Extracting the file from another package and adding it *may* help the >> program to run, but it wont satisfy the rpm installer. I meant that the openssl3 package probably has libcrypto.a(libcrypto.so.3) rathr than libcrypto.a(libcrypto.so.1.1). Also if you found the library/object libcrypto.a(libcrypto.so.1.1) and put the file in the correct place, then it would be found if you could run clamav, but dnf/yum/rpm wont know it is there (since they didn't put it there) so still wont allow you to install clamav. ( I'm not used to .a libraries in rpms (except in -devel packages) and guess that the installer confirms that a .a library has the required object inside, and then installs the whole library.) -- 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