From: Steve Lenti [mailto:[EMAIL PROTECTED] > > 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 > > 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.
The library is in /usr/local/lib. Running ldconfig or adding the path to /etc/ld.so.conf didn't help. Adding it to LD_LIBRARY_PATH worked. How do I make this permanent so I don't run into the same problem again when I update Mail::ClamAV? I can add the LD_LIBRARY_PATH setting to my .bashrc, but is there a better way? Bowie ------------------------------------------------------- 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
