Re: (Fwd) DBI
- From: jonathan.leffler@xxxxxxxxx (Jonathan Leffler)
- Date: Thu, 19 May 2005 17:00:01 -0700
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."
- References:
- (Fwd) DBI
- From: Tim Bunce
- (Fwd) DBI
- Prev by Date: DBD::Sybase question
- Next by Date: DBI->disconnect is not a DBI method. Read the DBI manual. at ff.pl line 224
- Previous by thread: (Fwd) DBI
- Next by thread: DBD::Sybase question
- Index(es):
Relevant Pages
|
|