Re: Help needed with pg.pm to connect to postgresql

From: "Albert REINER" <areiner(at)tph(dot)tuwien(dot)ac(dot)at>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Help needed with pg.pm to connect to postgresql
Date: 2000-11-05 15:18:36
Message-ID: 20001105161836.A968@frithjof
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice

Saluton,

On Sat, Nov 04, 2000 at 09:40:51AM -0500, Kisala Muhavi wrote:
...
> installed, only that im not sure whether its configured propely. well this
> is the error i incur whenever i try to run my program :-
>
> "can't locate pg.pm in @INC(@INC contains :/usr/lib/perl5/5.00503/i386-linux
> /usr/lib/perl5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux
> /usr/lib/perl5/site_perl/5.005.) at connect.cgi
> BEGIN failed --compilation aborted at connect.cgi "
...

The error message tells you that perl does not find the pg.pm file.
Maybe you should try Pg (with capital P) instead of pg; or, if that
does not help, use find to look where the file resides and put it into
one of the directories mentioned in the error message, or augment @INC
to contain the relevant directory.

HTH,

Albert.

--

--------------------------------------------------------------------------
Albert Reiner <areiner(at)tph(dot)tuwien(dot)ac(dot)at>
Deutsch * English * Esperanto * Latine
--------------------------------------------------------------------------

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Giovanni Serrato Castillo 2000-11-05 15:45:10 Re: question on SELECT using LIKE
Previous Message Jesus Aneiros 2000-11-05 14:44:27 Re: [NOVICE] Help needed with pg.pm to connect to postgresql

Browse pgsql-novice by date

  From Date Subject
Next Message Tod Emko 2000-11-05 17:23:53 using CPAN mode, can't install DBD::Pg
Previous Message Jesus Aneiros 2000-11-05 14:44:27 Re: [NOVICE] Help needed with pg.pm to connect to postgresql