On Tue, 20 Jul 2004 14:23:29 -0400, Bowie Bailey <[EMAIL PROTECTED]> wrote: > Fedora Core 2 > Perl 5.8.3 > ClamAV 0.74 > Mail-ClamAV-0.11 > > I am having problems getting Mail::ClamAV past the test stage. Make runs > with no errors, but as soon as I run 'make test', I get the errors shown > below. Can anyone give me a hand with this? > > $ make test > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/Mail-ClamAV....NOK 1# Failed test (t/Mail-ClamAV.t at line 8) > # Tried to use 'Mail::ClamAV'. > # Error: Had problems bootstrapping Inline module 'Mail::ClamAV' > # > # Can't load > '/home/bowieb/Mail-ClamAV-0.11/blib/arch/auto/Mail/ClamAV/ClamAV.so' for > module Mail::ClamAV: libclamav.so.1: cannot open shared object file: No such > file or directory at > /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line 229. > # at /usr/lib/perl5/site_perl/5.8.3/Inline.pm line 500 > # > # > # at /home/bowieb/Mail-ClamAV-0.11/blib/lib/Mail/ClamAV.pm line 154 > # BEGIN failed--compilation aborted at > /home/bowieb/Mail-ClamAV-0.11/blib/lib/Mail/ClamAV.pm line 442. > # Compilation failed in require at (eval 1) line 2. > "all" is not defined in %Mail::ClamAV::EXPORT_TAGS at t/Mail-ClamAV.t line > 10 > Can't continue after import errors at t/Mail-ClamAV.t line 10 > # Looks like you planned 11 tests but only ran 1. > t/Mail-ClamAV....dubious > Test returned status 11 (wstat 2816, 0xb00) > Scalar found where operator expected at (eval 153) line 1, near "'int' > $__val" > (Missing operator before $__val?) > DIED. FAILED tests 1-11 > Failed 11/11 tests, 0.00% okay > Failed Test Stat Wstat Total Fail Failed List of Failed > ---------------------------------------------------------------------------- > --- > t/Mail-ClamAV.t 11 2816 11 21 190.91% 1-11 > Failed 1/1 test scripts, 0.00% okay. 11/11 subtests failed, 0.00% okay. > make: *** [test_dynamic] Error 2 > > I appreciate any help. > > Bowie
It looks like it can't find clamav shared library. Is the location of this library in your /etc/ld.so.conf? Also, try re-running ldconfig or add the path to your LD_LIBRARY_PATH environment variable. -- Steve Lenti | [EMAIL PROTECTED] | ph: 505.362.3828 ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users