Hello All...

I am having problems connecting to my PostgreSQL database using DBI/DBD

Background:
PostgreSQL version 7.0.3
DBI version 1.14
DBD.Pg version .95
Perl version 5.6.0

All of the above running on Redhat 7.0 (i386)

When executing a CGI script with the following connect statement:
$dbh =
DBI->connect('DBI:Pg:dbname=shop;host=192.168.100.8;port=5432','postgres',''
,{ RaiseError => 1, AutoCommit => 1});

I receive the following error:

perl: error while loading shared libraries:
/usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/DBD/Pg/Pg.so: undefined
symbol: PQconnectdb


Any assistance greatly appreciated...

Thanks!

Pete Seabrook

Reply via email to