[Mimedefang] MD 2.39/SuSE 8.2/Perl5.8.0 Cant find MIME/Tools.pm

billk at kramerlawgroup.com billk at kramerlawgroup.com
Sat Nov 29 21:25:28 EST 2003


I'm having the most frustrating time...  I get the following error when
I try to run mimedefang:

Nov 29 17:34:43 klg mimedefang-multiplexor: Slave 0 stderr: Can't locate
MIME/Tools.pm in @INC (@INC contains:
/usr/lib/perl5/5.8.0/i586-linux-thread-multi /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at
/usr/local/bin/mimedefang.pl line 55. BEGIN failed--compilation aborted at
/usr/local/bin/mimedefang.pl line 55.

mimedefang.pl has, at line 55:

     54 use IO::Socket;
     55 use MIME::Tools 5.410 ();
     56 use MIME::Words qw(:all);

but when I check, the module is there, and at a path specified in the
@INC above.

klg:/var/spool # ls -l /usr/lib/perl5/site_perl/5.8.0/MIME/
-r--r--r--    1 root     root        53843 Oct  7  2002 Parser.pm
-r--r--r--    1 root     root        61550 Jan 16  2001 Tools.pm
-r--r--r--    1 root     root         2729 Nov  5 01:52 Type.pm

In fact, I can run mimedefang.pl from the command line just fine...

klg:~ # /usr/local/bin/mimedefang.pl -test
Filter /etc/mail/mimedefang-filter seems syntactically correct.

What would make the filter barf when running under the multiplexor,
but run correctly from teh command line?  Any ideas would be
greatly appreciated.  I already rebuilt the MIME-tools-5.411a-RP-Patched-02
perl module and mimedefang-2.39.  Neither has helped.

-Bill Katz
billk at kramerlawgroup.com





More information about the MIMEDefang mailing list