From: Jeremy Buchmann <jeremy@wellsgaming.com>
To: Ryan Deiter <n9247@cray.com>
To: pgsql-interfaces@postgresql.org
Subject: Re: DBI/Pg.pm problems
Date: Mon, 05 Feb 2001 11:26:33 -0800
Message-ID: <B6A43E69.102C%jeremy@wellsgaming.com> (raw)
In-Reply-To: <3A770522.FF6DF334@cray.com>
> I have installed postgresql on a alpha-linux box and installed DBI and
> Pg.pm is in the right place. When I run my perl script it says that it
> can't find Pg.pm in @INC. Please someone help.
> Ryan
It's been a while, but I recall having a similar problem.
Here are some things to check:
* The Postgres DBD (DBI "sub-driver") is installed correctly.
* Try putting Pg.pm in one of the "site-perl" dirs listed in @INC.
* Pg.pm has the right permissions.
* Can you load other modules from the same dir that Pg.pm is in?
Sometimes the DBI-related error messages are misleading or just plain wrong.
If all that fails, post the location of Pg.pm and the value of @INC:
$ locate Pg.pm
$ perl -e "print \"@INC\n\";"
--Jeremy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: jeremy@wellsgaming.com, n9247@cray.com
Subject: Re: DBI/Pg.pm problems
In-Reply-To: <B6A43E69.102C%jeremy@wellsgaming.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox