Help! Regarding Pg for posgreSQL

From: Amit Kush <akush(at)imtech(dot)res(dot)in>
To: pgsql-admin(at)postgresql(dot)org
Subject: Help! Regarding Pg for posgreSQL
Date: 2004-03-01 23:00:49
Message-ID: Pine.OSF.3.91.1040301230025.25442A-100000@imtech.res.in
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi!
I came to ur e-mail address from one of the sites through google. Hope u
could help me please.
I am using red hat linux and running my perl programs with postgresql at
back end.
The follwing error occurs while using Pg.

--------------------------------------------
Can't locate Pg.pm in @INC (@INC contains:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .)
---------------------------------------------

Though on searching for Pg.pm it is found at the location
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/DBD/Pg.pm

If I copy it this Pg.pm file in
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/, it does not
give the above error but says connectdb() is an undefined subroutine.

Any help will be highly appreciated.
Regards
Thanks

##############################################################################

AMIT KUSH
Bioinformatics Centre (BIC)
Institute of Microbial Technology
CHANDIGARH - 160 036
INDIA

Phone : (0172) 2690279 (O)
E-mail: <amitkush(at)yahoo(dot)com>, <amitkush(at)rediffmail(dot)com>
<amitkush(at)datainfosys(dot)net>, <akush(at)imtech(dot)res(dot)in>
Web : <www.kush.i8.com>, <www2.imtech.res.in/akush>

##############################################################################

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Stefan Holzheu 2004-03-02 07:36:44 Re: Problems with pg_dump
Previous Message scott.marlowe 2004-03-01 21:19:17 Re: SYSDATE in PostgreSQL !?