Hello Perl Community:

 

I am working at the CDC in ATL and I found this thread from 2001.

###############################

From:

 Sterin, Ilya

Date:

 October 30, 2001 09:02

Subject:

 RE: Can't locate loadable object for module DBI in @INC

Message ID:

 
<https://www.nntp.perl.org/group/perl.dbi.users/;msgid=15977008ABB8D5118B130
0805fa7a8f1815...@cibermail2.ciber.com>
15977008abb8d5118b1300805fa7a8f1815...@cibermail2.ciber.com

 

Which goes like this.

DBI doesn't work, although I've seen the same script work fine on 

> another machine.

> 

> The script (called load_bugs, which is supposed to use DBI to populate

a

> 

> MySQL database) falls over when it gets to "use DBI". Here is the full

 

> output:

> 

> Can't locate loadable object for module DBI in @INC (@INC contains: 

> /usr/local/lib/perl5/5.6.1/i686-linux /usr/local/lib/perl5/5.6.1 

> /usr/local/lib/perl5/site_perl/5.6.1/i686-linux 

> /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .)

 

> at /usr/local/lib/perl5/site_perl/5.6.1/i686-linux/DBI.pm line 189

> BEGIN failed--compilation aborted at 

> /usr/local/lib/perl5/site_perl/5.6.1/i686-linux/DBI.pm line 189.

> Compilation failed in require at ./load_bugs line 9.

> BEGIN failed--compilation aborted at ./load_bugs line 9.

> 

> If you look around line 189 of DBI.pm, here's what it says:

> 

> # If you get an error here like "Can't find loadable object ..."

> # then you haven't installed the DBI correctly. Read the README

> # then install it again.

> bootstrap DBI;

 

 

Well here I am in 2018 and I have the exact same problem with DBIx.

I trying to bring up RT 4.4.2 and apache barf's when RT trying to connect to
the database. RT Test dependencies  and make test deps all work fine.

 

But RT 4.4.2 ( rtserver that gets called from apache2.4 config file)

Complains that it cannot find a .pm called Search .pm when its right in the
@INC of Perl.

 

Any clues on how to troubleshoot ?

 

 

 

 

Reply via email to