Re: Cant get Perl Module loaded

From: Neil Conway <nconway(at)klamath(dot)dyndns(dot)org>
To: pgsql-general(at)postgresql(dot)org
Cc: vze23skh(at)verizon(dot)net
Subject: Re: Cant get Perl Module loaded
Date: 2001-05-22 22:26:23
Message-ID: 20010522182623.A348@klamath.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, May 20, 2001 at 12:48:48PM +0000, John wrote:
> I have installed perl and postgres, followed the instructions on how to
> install the perl modules and tried to run a simple cgi script to connect to
> postgress, get some data and display it.
>
> I keep getting a message in the error log that says perl can't find the
> DBM:Pg module or maybe I misspelled it. I also tried to "include" Pg.pm and
> it says it cant find the module. I did a manual find and it is there.

Spelling things correctly (like DBD::Pg) and including the full error
messages would be helpful. Also, there's a difference between Pg and
DBD::Pg.

1) What output does this produce:

perl -e 'use DBI; print join("\n", DBI->available_drivers), "\n"'

2) Do you get an error when you execute:

perl -e 'use DBD::Pg'

3) What steps did you follow to install DBD::Pg?

Cheers,

Neil

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Holmes 2001-05-22 22:38:32 A Couple of Questions on Blobs
Previous Message Thalis A. Kalfigopoulos 2001-05-22 22:21:22 Re: Re: Select statement