From: Jeremy Buchmann <jeremy@wellsgaming.com>
To: pgsql-interfaces@postgresql.org
Subject: Error trying to connect with Perl script
Date: Fri, 03 Mar 2000 10:40:25 +0000
Message-ID: <200003031833.KAA01309@mail.greatbasin.net> (raw)
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?
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
Subject: Re: Error trying to connect with Perl script
In-Reply-To: <200003031833.KAA01309@mail.greatbasin.net>
* 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