View previous topic :: View next topic |
Author |
Message |
elusiya
Joined: 18 Aug 2004 Posts: 3
|
Posted: Wed Aug 18, 2004 10:54 am Post subject: recmail.pl problem |
|
|
send mms directly works well.
but when i use email interface i get following error in recmail.log
--------------------------------------------
install_driver(mysql) failed: Can't locate loadable object for module DBD::mysql in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at (eval 1) line 3
Compilation failed in require at (eval 1) line 3, <STDIN> line 16.
Perhaps a module that DBD::mysql requires hasn't been fully installed
----------------------------------------
but if i pipe email to recmail.pl directly:
cat email | perl recmail.pl
it works well
is there anybody can help me?
thx |
|
Back to top |
|
 |
Peffis Site Admin
Joined: 09 Sep 2003 Posts: 324 Location: Sweden
|
Posted: Wed Aug 18, 2004 12:26 pm Post subject: |
|
|
My guess would be that you have two different perl installations in your system (one located at the place specified in first line of recmail.pl and one in your path). If it works with the one in your path you should use that one instead. |
|
Back to top |
|
 |
elusiya
Joined: 18 Aug 2004 Posts: 3
|
Posted: Wed Aug 18, 2004 3:46 pm Post subject: just one perl version |
|
|
there are not two version.
cat email.txt | /usr/bin/perl /home/mms/recmail.pl
cat email.txt | perl /home/mms/recmail.pl
both can get right result
but process throught .procmailrc, GET ERROR |
|
Back to top |
|
 |
Guest
|
Posted: Wed Aug 18, 2004 4:56 pm Post subject: |
|
|
Sorry, can't help you then. I have no idea why the mysql driver would be missing when it's run by procmail and not otherwise. |
|
Back to top |
|
 |
|