My environment: AIX 4.3.3 (rather old) Gcc 2.95.2 (also old) Clamav 0.96 export CC="/usr/local/bin/gcc" export CFLAGS="-D_XOPEN_SOURCE=500 -D_ALL_SOURCE" export LDFLAGS="-lpthreads -liconv" ./configure --disable-clamav --disable-static --enable-shared
It compiled with no problem. However, when I ran 'make check', it gave the following: --------------------------------------------------- SKIP: check_clamav PASS: check_freshclam.sh PASS: check_sigtool.sh SKIP: check_unit_vg.sh FAIL: check1_clamscan.sh FAIL: check2_clamd.sh PASS: check3_clamd.sh PASS: check4_clamd.sh SKIP: check5_clamd_vg.sh SKIP: check6_clamd_vg.sh SKIP: check7_clamd_hg.sh SKIP: check8_clamd_hg.sh ======================================== 2 of 6 tests failed (6 tests were not run) See unit_tests/test-suite.log Please report to http://bugs.clamav.net/ ======================================== --------------------------------------------------- Here's some of the output from 'check1.clamscan.sh': --------------------------------------------------- FAIL: check1_clamscan.sh (exit: 42) LibClamAV debug: searching for unrar, user-searchpath: /usr/local/lib LibClamAV debug: searching for unrar: libclamunrar_iface.so.6.1.2 not found LibClamAV debug: unrar support loaded from /usr/local/lib/libclamunrar_iface.so. 6 libclamunrar_iface_so LibClamAV debug: Initialized 0.96 engine LibClamAV debug: Initializing phishcheck module ... LibClamAV debug: OLE2: 01error [file] r size:0x00000994 flags:0x00000000 LibClamAV debug: in cli_magic_scandesc (reclevel: 2/16) LibClamAV debug: cache_check: d8edf31a1e45752e1654492056feaa2b is negative LibClamAV debug: Recognized UTF-16BE character data LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: cache_add: d8edf31a1e45752e1654492056feaa2b (level 0) LibClamAV debug: cli_magic_scandesc: returning 0 at line 2309 LibClamAV debug: OLE2: 01dialog [file] b size:0x000002aa flags:0x00000000 LibClamAV debug: in cli_magic_scandesc (reclevel: 2/16) LibClamAV debug: cache_check: 84e7065400cff6f1ecc5e23c58e391c1 is negative LibClamAV debug: Recognized UTF-16BE character data ... ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 0.96 Scanned directories: 0 Scanned files: 46 Infected files: 44 Data scanned: 12.42 MB Data read: 6.21 MB (ratio 2.00:1) Time: 20.338 sec (0 m 20 s) *** *** clamscan didn't detect all testfiles correctly *** ---------------------------------------------------------- Here's some of the output from 'check2_clamd.sh': ---------------------------------------------------------- FAIL: check2_clamd.sh (exit: 42) ... ----------- SCAN SUMMARY ----------- Infected files: 44 Time: 23.374 sec (0 m 23 s) *** *** clamd did not detect all testfiles correctly! *** ---------------------------------------------------------- Any ideas? - Joe Vigil _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml