BUG #2772: Undefined Subroutine Pg::connectdb (" ");

S.Balaji <balajisundar@midascomm.com>

From: "S.Balaji" <balajisundar@midascomm.com>
To: pgsql-bugs@postgresql.org
Date: 2006-11-20T12:07:25Z
Lists: pgsql-bugs, pgsql-general
The following bug has been logged online:

Bug reference:      2772
Logged by:          S.Balaji
Email address:      balajisundar@midascomm.com
PostgreSQL version: 7.4
Operating system:   CentOS 4.4
Description:        Undefined Subroutine Pg::connectdb (" ");
Details: 

In Redhat 7.2 use Pg; command in perl Scripts will working with out any
Problem.But in CentOS use Pg command will not Working it shows error is
cannot Locate Pg.pm in Include Directory.After I am Solved this Problem by
export PERLLIB=/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/DBD/
command.After it shows error is undefined subroutine Pg::connectdb
command.how can i solve this Problem without changing the use Pg command or
any other equivalent command is there.Please help me to solve this Problem