Can"t locate loadable object for module DBI in @INC

Can"t locate loadable object for module DBI in @INC

am 26.09.2005 09:08:49 von anurag.vidyarthi

------_=_NextPart_001_01C5C269.24E4B490
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,

I m installing the bugzilla s/w for bugtracking. I requires following 3
software components :

=20

I have installed mysql at /usr/local/mysql-4.1.14

I have installed perl at /usr/local/perl-5.8.7

I have installed many perl modules /usr/local/perl_modules

(All are compiled from the source)

=20

Mysql and apache are tested as well.

=20

but I am hitting the following error when I am running the following
command in bugzilla directory :-

../testserver.pl http://10.50.1.101/bugzilla-2.18.3

where bugzilla-2.18.3 is the virtual directory defined in httpd.conf
file of apache.( I have installed apache in /usr/local/apache directory)


It gives the following error:

Can't locate loadable object for module DBI in @INC (@INC contains:
/usr/local/perl_modules/DBI-1.40 . /usr/perl5/5.00503/sun4-solaris
/usr/perl5/5.00503 /usr/perl5/site_perl/5.005/sun4-solaris
/usr/perl5/site_perl/5.005 .) at /usr/local/perl_modules/DBI-1.40/DBI.pm
line 252
BEGIN failed--compilation aborted at
/usr/local/perl_modules/DBI-1.40/DBI.pm line 252.
BEGIN failed--compilation aborted at Bugzilla/DB.pm line 31.
BEGIN failed--compilation aborted at globals.pl line 31.

But I have installed DBI at /usr/local/perl_modules/DBI-1.40
by the commands :

perl Makefil.PL
make
make install

and then subsequently DBD as well without any error .
I have changed the DB.pm in bugzilla directory

use lib "/usr/local/perl_modules/DBI-1.40";
use DBI;

to asked it to go the module where DBI is installed but I do not know
why it is not loading the DBI objects from there.

Is there anybody who can help me out.




With regards=20
anurag vidyarthi
anurag.vidyarthi@conax.com

=20


------_=_NextPart_001_01C5C269.24E4B490--