Re: BUG #2772: Undefined Subroutine Pg::connectdb (" ");
Bruno Wolff III <bruno@wolff.to>
From: Bruno Wolff III <bruno@wolff.to>
To: "S.Balaji" <balajisundar@midascomm.com>
Cc: pgsql-bugs@postgresql.org, pgsql-general@postgresql.org
Date: 2006-11-22T19:28:42Z
Lists: pgsql-bugs
This isn't a bug and you should have asked on a different list. I am going to move this over to pgsql-general. On Mon, Nov 20, 2006 at 12:07:25 +0000, "S.Balaji" <balajisundar@midascomm.com> wrote: > > 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 The Pg perl module is not getting much support, but you can get a copy of the source from ftp://gborg.postgresql.org/pub/pgperl/stable/Pg-2.1.1.tar.gz and build it yourself.