Re: (Fwd) DBI



You've installed DBI into one location:
/usr/local/lib/perl5/site_perl/5.8.6/i686-linux/auto/DBI/
Your system is failing to find it in another:
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/DBI.pm
You need to work out why these are different.

Most likely (in my view) you have at least two versions of Perl on the
system and are using different versions at different times.
Alternatively, you've upgraded from 5.8.5 to 5.8.6 and not recompiled
everything.
Or you've got too many bits and pieces in your @INC or something similar.


On 5/19/05, Tim Bunce <Tim.Bunce@xxxxxxxxx> wrote:
>
> ----- Forwarded message from "Bepristis, Brian" <
> bbeprist@xxxxxxxxxxxxxxxxxxxxx> -----
>
> From: "Bepristis, Brian" <bbeprist@xxxxxxxxxxxxxxxxxxxxx>
> To: Tim.Bunce@xxxxxxxxx
> Subject: DBI
> Date: Thu, 19 May 2005 15:17:00 -0400
>
> I have a system running FC3 Linux Perl 5.8.6 and DBI v. 1.48 Oracle 10G
> Client and I cannot get DBI to
> work for the life of me please help here is what I am doing when
> installing.
>
>
>
> perl Makefile.PL



....mega-snip...

make install
>
> Files found in blib/arch: installing files in blib/lib into architecture
> dependent library tree
>
> Writing /usr/local/lib/perl5/site_perl/5.8.6/i686-linux/auto/DBI/.packlist
>
> Appending installation info to
> /usr/local/lib/perl5/5.8.6/i686-linux/perllocal.pod
>
>
>
> When I run a application this is what I get
>
> ./test_db_conn.pl
>
> Can't locate object method "bootstrap" via package "DBI" at
> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/DBI.pm line 247.
>
> BEGIN failed--compilation aborted at
> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/DBI.pm line
> 254.
>
> Compilation failed in require at ./test_db_conn.pl line 8.
>
> BEGIN failed--compilation aborted at ./test_db_conn.pl line 8.
>
>
> Any help will be much appreciated I have been researching this for almost
> 3 days and cannot find the
> right answer.
>


--
Jonathan Leffler <jonathan.leffler@xxxxxxxxx> #include <disclaimer.h>
Guardian of DBD::Informix - v2005.01 - http://dbi.perl.org
"I don't suffer from insanity - I enjoy every minute of it."


Relevant Pages

  • Re: Installing Perl DBI and Oracle DBD in AIX 5.1
    ... I installed the Oracle DBI by following ... >> the perl DBI and oracle DBD in this machine. ... > discussion about installing DBI on AIX and with ...
    (perl.beginners)
  • help!!! getting error cannot locate loadable object in DBI
    ... i have a simple perl script, that dies at the use DBI line. ... 11.11,perl 5.8.0 and installing dbi 1.42. ... Manifying blib/man3/DBD::DBM.3 ...
    (perl.dbi.users)
  • Re: Installing DBI module for Perl 5.8.4
    ... > When installing the DBI module through PPM3 in Perl 5.8.4.810 ... On the very same version of ActiveState perl, I ran 'ppm install DBI' and it ... installing files in blib\lib into architecture ...
    (comp.lang.perl.modules)
  • RE: DBI_DSN, DBD-Oracle & ODBC Examples?
    ... George, just in case you're not familiar with 'perldoc', here's a little ... Perl is installed. ... to read the excellent DBI ... after installing the DBI module you would do "perldoc DBI" at ...
    (perl.dbi.users)
  • ANNOUNCE: UnixODBC 0.31
    ... UnixODBC provides a toolkit for writing Perl ODBC clients. ... - Installing and Configuring the Bridge Server ... UnixODBC.pm provides Perl programs with a subset of the X/Open ... Bridge Server," below. ...
    (comp.lang.perl.modules)