debug a script for Sendmail::Milter
[email protected] (Dirk Tamme) Tue, 20 Apr 2004 09:07:07 +0200
| Newsgroups | perl.debugger |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I have a problem with the Perl-Modul Sendmail::Milter. I have ( using
SuSE Linux 8.1 )
sendmail 8.12.11, which includes the Milter interface.
What I have done to install Sendmail::Milter is
cd /usr/local/src/Sendmail-Milter-0.18
perl Makefile.PL /usr/local/src/sendmail-8.12.11/obj.Linux.2.4.19-4GB.i686/
make
make install
Now I tested a script given in
www.tpj.com/documents/s=7178/sam0206l/
<http://www.tpj.com/documents/s=7178/sam0206l/>
Because there occurs an error, I used the debug option
#! /usr/bin/perl -d
What I found out is that the line
if (not Sendmail::Milter::auto_setconn($ARGV[0], $ARGV[1]))
gives me the error mesage
/usr/bin/perl: relocation error:
/usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/auto/Sendmail/Milter/Milter.so:
undefined symbol: smfi_setconn
The Perl-script starts with
use Sendmail::Milter;
so the Package should be included. If anybody has an idea, please help.
Yours
Dirk Tamme