Means that it either didn't install fine, or it's not located in @INC, so
possibly you are either installing it in a different location, under a
different perl installation, than what your script is run with, or you are
messing you your @INC.

Ilya

> -----Original Message-----
> From: Veeresh [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 07, 2001 12:07 PM
> To: [EMAIL PROTECTED]
> Subject: "Can't locate loadable object for module DBI "
>
>
> Hi all,
>
> Can anybody suggest what's the problem with this Perl Script.
>
> In the beginning I had this problem.
>
> Can't locate DBI.pm in @INC (@INC contains:
> /opt/portal/6.0/lib/perl5/sun4-solaris/5.00503 /opt/portal/6.0/lib/perl5
> /opt/portal/6.0/lib/perl5/site_perl/sun4-solaris /opt/portal/6.0/lib .)
> at ./cust.pl line 7.
> BEGIN failed--compilation aborted at ./cust.pl line 7.
>
> Then I installed the DBI.pm as per instructions in the website.The
> following
>  is the result
>
> Can't locate loadable object for module DBI in @INC (@INC contains:
> /opt/apps/portal/pin16/opt/portal/6.0/lib
> /opt/apps/portal/pin16/opt/portal/6.0/lib/perl5/sun4-solaris/5.00503
> /opt/apps/portal/pin16/opt/portal/6.0/lib/perl5
> /opt/apps/portal/pin16/opt/portal/6.0/lib/perl5/DBI-1.19
> /opt/portal/6.0/lib/perl5/sun4-solaris/5.00503 /opt/portal/6.0/lib/perl5
> /opt/portal/6.0/lib/perl5/site_perl/sun4-solaris /opt/portal/6.0/lib .)
> at /opt/apps/portal/pin16/opt/portal/6.0/lib/perl5/DBI-1.19/DBI.pm line
> 185
> BEGIN failed--compilation aborted at
> /opt/apps/portal/pin16/opt/portal/6.0/lib/perl5/DBI-1.19/DBI.pm line
> 185.
> BEGIN failed--compilation aborted at cust.pl line 7.
>
> I appreciate if anybody suggest solution.
>
> Thanks in advance.
>
> Regards,
> Veers.
>

Reply via email to