On Wed, Mar 10, 2004 at 12:38:46PM -0800, David Wheeler wrote: > On Mar 10, 2004, at 12:33 PM, Tim Bunce wrote: > > >What does "perl -V" report? > > @INC: > /usr/local/lib/perl5/5.8.2/i386-freebsd > /usr/local/lib/perl5/5.8.2 > /usr/local/lib/perl5/site_perl/5.8.2/i386-freebsd > /usr/local/lib/perl5/site_perl/5.8.2 > /usr/local/lib/perl5/site_perl/5.8.0/i386-freebsd > /usr/local/lib/perl5/site_perl/5.8.0 > /usr/local/lib/perl5/site_perl/5.6.1 > /usr/local/lib/perl5/site_perl/5.005 > /usr/local/lib/perl5/site_perl > .
Note that .../5.6.1 and .../5.005 don't have .../i386-freebsd as well. I think the bug here is that BerkeleyDB got installed into a non-arch specific directory even though it's a compiled extension. You should try to find out how that happened - then delete it. Meanwhile, the best workaround for the DBI probably to make t/50dbm.t remove from @INC any dirs which match /\/5\.[0-9.]$/ but which don't also have an arch-specific directory in @INC. Tim.