DBI::PurePerl only supports pure-perl drivers. (Or, looking at it the
other way round, compiled drivers need the compiled DBI extension.)
Tim.
On Mon, Mar 21, 2005 at 06:29:09PM -0500, Warfield, Ben wrote:
> Using DBD::Oracle on Linux 2.4.19 (i686), I get the following somewhat
> unexpected behavior:
>
> $ DBI_PUREPERL=2 perl -MDBI
> -e'DBI->connect("dbi:Oracle:ourserver","u","p")'
> Had to create DBI::_dbistate unexpectedly at
> /usr/local/lib/perl5/5.6.1/i686-linux/DynaLoader.pm line 225.
> install_driver(Oracle) failed: Unable to get DBI state. DBI not loaded.
> at /usr/local/lib/perl5/5.6.1/i686-linux/DynaLoader.pm line 225.
> Compilation failed in require at (eval 225) line 3
>
> Version numbers are Perl 5.6.1, DBI 1.27 (I know, I know...) and
> DBD::Oracle 1.12. Using normal DBI, there's a problem I'm trying to
> debug (this is why I was trying PurePerl) but nothing nearly this
> blatant. Is this a known issue, or does it indicate some localized
> problem in our set-up here?
>
> Thanks,
>
> Ben Warfield
>
> --
> Benjamin Warfield
> Research Associate, Computational Chemistry
> Neurogen Corporation
>