Received: from mail.greatbasin.net (mail.greatbasin.net [207.228.35.39]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f15JRUx56934 for ; Mon, 5 Feb 2001 14:27:30 -0500 (EST) (envelope-from jeremy@wellsgaming.com) Received: from [172.16.1.6] (rno-dsl0b-131.gbis.net [216.82.145.131]) by mail.greatbasin.net (8.9.3-MySQL-0.2.3b/8.9.3) with ESMTP id LAA16327; Mon, 5 Feb 2001 11:26:57 -0800 (PST) User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 Date: Mon, 05 Feb 2001 11:26:33 -0800 Subject: Re: DBI/Pg.pm problems From: Jeremy Buchmann To: Ryan Deiter , Message-ID: In-Reply-To: <3A770522.FF6DF334@cray.com> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Archive-Number: 200102/16 X-Sequence-Number: 968 > 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