From: | Jeremy Buchmann <jeremy(at)wellsgaming(dot)com> |
---|---|
To: | Ryan Deiter <n9247(at)cray(dot)com>, <pgsql-interfaces(at)postgresql(dot)org> |
Subject: | Re: DBI/Pg.pm problems |
Date: | 2001-02-05 19:26:33 |
Message-ID: | B6A43E69.102C%jeremy@wellsgaming.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
> 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
From | Date | Subject | |
---|---|---|---|
Next Message | v j | 2001-02-06 04:32:41 | Re: JDBC APPLET Problem |
Previous Message | Thomas Lockhart | 2001-02-05 16:52:37 | Re: [ODBC] ODBC Installation woes |