https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6604

--- Comment #3 from Kevin A. McGrail <[email protected]> 2011-05-26 21:47:18 
UTC ---
(In reply to comment #2)
> Input: perl -e 'if (require DBI) { print "DBI Version is: $DBI::VERSION\n";
> exit 0;} else {exit 1;}' || echo 'DBI Not Present!' 
> 
> Output:  DBI Version is: 1.616
> 
> Yes, I have tried reinstalling DBI with a "fforce install DBI" command.
> It is found here:
> 
> > find /usr/local/lib/perl5/ -name DBI
> /usr/local/lib/perl5/site_perl/5.14.0/x86_64-linux-ld/DBI
> /usr/local/lib/perl5/site_perl/5.14.0/x86_64-linux-ld/auto/DBI
> /usr/local/lib/perl5/site_perl/5.12.3/x86_64-linux-thread-multi-ld/DBI
> /usr/local/lib/perl5/site_perl/5.12.3/x86_64-linux-thread-multi-ld/auto/DBI
> /usr/local/lib/perl5/site_perl/5.12.3/x86_64-linux-ld/DBI
> /usr/local/lib/perl5/site_perl/5.12.3/x86_64-linux-ld/auto/DBI
> 
> The instance reinstalled under 5.14.0 should take precedence.

Very odd.  What does perl -V give you?

That output you quoted is from DependencyInfo.pm which is slightly different
than other calls.

If you write a quick perl program that does this, what do you get?

use constant HAS_DBI => eval { require DBI; };
print HAS_DBI;

I wonder if this isn't part of the numerous fixes we have in place for 5.12.X. 
Hopefully someone else has a pointer.

-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to