dbTalk Databases Forums  

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

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #2772: Undefined Subroutine Pg::connectdb (" "); in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
S.Balaji
 
Posts: n/a

Default [BUGS] BUG #2772: Undefined Subroutine Pg::connectdb (" "); - 11-20-2006 , 07:16 PM







The following bug has been logged online:

Bug reference: 2772
Logged by: S.Balaji
Email address: balajisundar (AT) midascomm (DOT) 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

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly

Reply With Quote
  #2  
Old   
Bruno Wolff III
 
Posts: n/a

Default Re: [BUGS] BUG #2772: Undefined Subroutine Pg::connectdb (" "); - 11-22-2006 , 01:29 PM






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 (AT) midascomm (DOT) com> wrote:
Quote:
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/pgper...g-2.1.1.tar.gz
and build it yourself.

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.