Received: from mail.greatbasin.net (mail.greatbasin.net [207.228.35.39]) by hub.org (8.9.3/8.9.3) with ESMTP id NAA60289 for ; Fri, 3 Mar 2000 13:33:49 -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/8.9.3) with ESMTP id KAA01309 for ; Fri, 3 Mar 2000 10:33:47 -0800 (PST) Message-Id: <200003031833.KAA01309@mail.greatbasin.net> X-Mailer: Microsoft Outlook Express Macintosh Edition - 4.5 (0410) Date: Fri, 03 Mar 2000 10:40:25 +0000 Subject: Error trying to connect with Perl script From: "Jeremy Buchmann" To: pgsql-interfaces@postgresql.org Mime-version: 1.0 X-Priority: 3 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Hello, I am trying to setup the Perl DBI for Pg, and when I call DBI->data_sources($driver); and then DBI->data_sources($driver); to test my setup, I get an error that reads: DBD::Pg initialisation failed: Can't locate object method "driver" via package "DBD::Pg" at /usr/lib/perl5/site_perl/5.005/i586-linux/DBI.pm line 481. I am using: Perl 5.005_03, stock install from SuSE 6.3. PostgreSQL 6.5.3, compiled myself. DBI-1.13 pgsql_perl5-1.8.1 Everything was installed in the order I listed. $POSTGRES_HOME is set to /usr/local/pgsql/ which is obviously where PostgreSQL is installed. All commands from psql work fine. Anyone have any ideas?