Solution, execute this on your linux terminal -

$ perl -MCPAN -e 'install Bundle::DBI'
$ perl -MCPAN -e 'install DBD::Pg'

> On 24-Aug-2018, at 6:13 PM, Ravi Krishna <sravikris...@aol.com> wrote:
> 
>> 
>> sir have taken pg_sample 
>> Now i want to run pg_sample with credential but i'm getting this error
>> 
>> Can't locate DBI.pm in @INC (@INC contains: /usr/local/lib64/perl5 
>> /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl 
>> /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at 
>> ./pg_sample line 192.
>> BEGIN failed--compilation aborted at ./pg_sample line 192.
> 
> As is clear from the message, you need to install Perl DBI/DBD first.
> 
> 


Reply via email to