in reply to DBD::Pg on Windows with ActivePerl

Did you try installing DBD::Pg with PPM from another than the Activestate repo? The Trouchelle repository has version 2.10 for Perl 5.10 and version 2.14.1 for Perl 5.8.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

Replies are listed 'Best First'.
Re^2: DBD::Pg on Windows with ActivePerl
by tswall (Monk) on Oct 20, 2009 at 22:59 UTC
    Thanks CountZero,

    I consider this progres...I reinstalled DBD::Pg from the Trouchelle repository as suggested. I now get a different Windows Error Dialog that specifically mentions that it can't find libintl-8.dll:

    perl.exe = Unable to Locate Component This application has failed to start because libintl-8.dll was not fou +nd. Re-installing the application may fix this problem.
    Any ideas? I snooped around other message boards and couldn't figure out why this was bein DynaLoader'ed.
      It looks as if you need libintl-8.dll and the repository provides libintl3.dll which perhaps seems to be an older version. Maybe your versions of Postgresql and the DBD drivers and the DLLs are out of sync? A desperate measure would be to rename libintl3.dll to libintl-8.dll and hope / pray that the API did not change ...

      If that doesn't work you will have to hunt the Web for a version of libintl-8.dll for your OS.

      CountZero

      A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

      Any ideas?

      You did not install PostgreSQL correctly (or just did not setup path).