Skip site navigation (1) Skip section navigation (2)

Error trying to connect with Perl script

From: "Jeremy Buchmann" <jeremy(at)wellsgaming(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Error trying to connect with Perl script
Date: 2000-03-03 10:40:25
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
    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/ line

I am using:
Perl 5.005_03, stock install from SuSE 6.3.
PostgreSQL 6.5.3, compiled myself.

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?

pgsql-interfaces by date

Next:From: Jeremy BuchmannDate: 2000-03-03 11:07:57
Subject: Re: Error trying to connect with Perl script
Previous:From: Anjan BorthakurDate: 2000-03-03 09:49:10
Subject: select from multiple databases on different machines

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group