WELCOME TO THE WORLD OF OPEN SOURCE MY DUDES ...
Download and verify gpg the source for ClamAV
<
https://www.clamav.net/downloads> into some work directory.
Unpack the source tar xf clamav-0.103.2.tar.gz
Make sure pre-reqs are installed:
yum install curl-devel openssl-devel libxml2-devel
Configure / make / install:
make uninstall && ./configure --prefix=/QOpenSys/pkgs
--exec-prefix=/QOpenSys/pkgs --libdir=/QOpenSys/pkgs/lib
--disable-check --with-systemdsystemunitdir=no
--sysconfdir=/QOpenSys/etc CFLAGS="-pthread -I/QOpenSys/pkgs/include
-I/QOpenSys/pkgs/include/lzma -I/QOpenSys/pkgs/include/curl
-I/QOpenSys/pkgs/include/libxml" CPPFLAGS="-pthread
-I/QOpenSys/pkgs/include -I/QOpenSys/pkgs/include/lzma
-I/QOpenSys/pkgs/include/curl -I/QOpenSys/pkgs/include/libxml"
LDFLAGS="-pthread
-Wl,-brtl,-blibpath:/QOpenSys/pkgs/lib:/QOpenSys/usr/lib"
--with-libcurl=/QOpenSys/pkgs --with-xml=/QOpenSys/pkgs
--with-libjson=/QOpenSys/pkgs && make clean && make install
May not be optimal command sequence but should work.
OPEN SOURCE THRIVES ON PARTICIPATION.
Don't wish for fishes, learn to fish.
As an Amazon Associate we earn from qualifying purchases.