[Clamav-devel] Fwd: Compiling a portable version of ClamAV
bctello8 at gmail.com
Tue Oct 16 16:17:31 EDT 2018
I'm trying to compile ClamAV on a CentOS 7 machine and then transfer the
compiled executables to another CentOS 7 machine under a directory that has
a non-deterministic name. My current best guess as to how to accomplish
this is to statically compile ClamAV so that it doesn't have to load any
libraries at runtime.
I tried to compile using `configure --enable-static` but I have a feeling
that doesn't do what I think it does because the output of `ldd clamd`
indicates that clamd is a dynamically linked ELF. And indeed when I try to
run clamd on my target machine it complains about not being able to find
libclamav.so.7. Does anyone have any idea as to why this isn't working or
what I can do to compile clamd statically?
More information about the clamav-devel