pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedError trying to connect with Perl script
2+ messages / 1 participants
[nested] [flat]
* Error trying to connect with Perl script
@ 2000-03-03 10:40 Jeremy Buchmann <jeremy@wellsgaming.com>
0 siblings, 0 replies; 2+ messages in thread
From: Jeremy Buchmann @ 2000-03-03 10:40 UTC (permalink / raw)
To: pgsql-interfaces
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?
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Error trying to connect with Perl script
@ 2000-03-03 11:07 Jeremy Buchmann <jeremy@wellsgaming.com>
0 siblings, 0 replies; 2+ messages in thread
From: Jeremy Buchmann @ 2000-03-03 11:07 UTC (permalink / raw)
To: pgsql-interfaces
It looks like I fixed my own problem :)
My problem was I had not downloaded DBD-Pg-0.93.tar.gz from CPAN. What I
had downloaded was Postgres-1.4.tar.gz, which I thought was the DBD.
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2000-03-03 11:07 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-03-03 10:40 Error trying to connect with Perl script Jeremy Buchmann <jeremy@wellsgaming.com>
2000-03-03 11:07 Re: Error trying to connect with Perl script Jeremy Buchmann <jeremy@wellsgaming.com>
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