A very simple script: #!/usr/bin/perl -w use strict;
use DBI; my $dbname = "test"; my $host = "localhost"; my $user = "postgres"; my $pass = "postgres"; my $dsn = "DBI:Pg:dbname=$dbname"; my $conn = DBI->connect($dsn, $user, $pass); Here is the error: install_driver(Pg) failed: DBD::Pg object version undef does not match bootstrap parameter 2.6.1 at /usr/lib/perl5/5.8.8/i586-linux-thread-multi/DynaLoader.pm line 253. Compilation failed in require at (eval 3) line 3. at ./dbtest.pl line 11 Perl version v5.8.8 -Matt
