Re: Problem with installing DBD-Pg on Windows

"T.J. Ferraro" <[email protected]>
Newsgroups gmane.comp.db.postgresql.dbdpg
Message-ID <[email protected]>
What version of Windows are you running? Do you have the VC runtime 
library installed?

T.J.

Milena wrote:
> Hi ,
> I have istalled and working Perl on my Windows
> Now I want to have and Postgres interface.
> I downloded "DBD-Pg-2.10.0-Perl5.10.ppd" (because my Active Perl 
> Version is 5.10), and I installed It.
>
>    /C:\Perl\lib>ppm instal DBD-Pg-2.10.0-Perl5.10.ppd
>    Downloading -Pg-2.10.0-Perl5.10.ppd ... done
>    Unpacking -Pg-2.10.0-Perl5.10.ppd .... done
>    Generating HTML for -Pg-2.10.0-Perl5.10.ppd ... done
>    Updating files in site area ... done
>    10 files updated/
>
>
> *I wrote this script:
> *
>
>    /use strict;
>
>    use DBI;
>
>    my $dbh = DBI->connect("DBI:Pg:dbname=test; host=localhost:5432",
>                            "postgres" ,
>                            "aiFt7DDj") || die "Database connection not
>    made: $DBI::errstr";
>    $dbh->disconnect();/
>
> *And I have this error:
> *
>
>    /install_driver(Pg) failed: Can't load
>    'C:/Perl/site/lib/auto/DBD/Pg/Pg.dll' for module DBD::Pg:
>    load_file:The specified module could not be found at
>    C:/Perl/lib/DynaLoader.pm line 201.
>     at (eval 4) line 3
>    Compilation failed in require at (eval 4) line 3.
>    Perhaps a required shared library or dll isn't installed where 
> expected
>     at C:/workspace/perl_DataBase.pl line 12/
>
> *Can you help me, what i do wrong? Thank you!
> Have a nice day
> Milena Karaivanova*
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.