DBI::PurePerl failure (possibly due to old DBI)

From: Ben Warfield (Ben_Warfield_at_nrgn.com)
Date: 03/22/05


Date: Mon, 21 Mar 2005 18:29:09 -0500
To: <dbi-users@perl.org>

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


Relevant Pages

  • Re: MS SQL 2000
    ... I have had success (under linux) with DBI and DBD::Sybase. ...
    (comp.lang.perl.misc)
  • DBI and DB:oracle modules
    ... I want to install the DBI module on my linux server. ... I am using Oracle EE 11g 11.1.0.7.0 and Red Hat Linux ES 4. ... If I type perl -v and perl -V below are the output. ...
    (perl.dbi.users)
  • Re: DBI and DB:oracle modules
    ... I installed DBI as root. ... Perhaps the DBD::Oracle perl module hasn't been fully installed, ... I want to install the DBI module on my linux server. ... I am using Oracle EE 11g 11.1.0.7.0 and Red Hat Linux ES 4. ...
    (perl.dbi.users)
  • Re: DBD::Oracle for Oracle 9.2
    ... > i'm new to using Perl to connect to Oracle. ... > I use Perl through Windows, not through Unix or Linux. ... What version of Perl, DBI, and DBD are you usieng. ...
    (perl.dbi.users)