Finally sorted the SSL issues and did a successful make.
However, I now get a seg fault when I try to run any of the resulting
binaries.
The end of the strace output from clamscan . is:
open("/etc/clamav/certs/clamav.crt", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=1976, ...}) = 0
read(4, "-----BEGIN CERTIFICATE-----\nMIIF"..., 1976) = 1976
read(4, "", 32) = 0
close(4) = 0
futex(0x7ff85584277c, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7ff855842770, FUTEX_WAKE_PRIVATE, 2147483647) = 0
brk(NULL) = 0xc76000
brk(0xc97000) = 0xc97000
futex(0x7ff855842ddc, FUTEX_WAKE_PRIVATE, 2147483647) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x200000009} ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)
(The old binaries still work.)
On 3/12/25 17:45, Stephen Davies via clamav-users wrote:
Thanks for getting back to me.
After a bit of trial and error, I realised that the -D JSONC_LIBRARY
define had to point to the static library file rather than the directory
so this issue went away.
Now I'm battling ssl/ssh versions. Hopefully I can sort this out.
Cheers,
Stephen
_______________________________________________
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