Comments on: Using Perl to access PostgreSQL under Windows https://grey-panther.net/2008/09/using-perl-to-access-postgresql-under-windows.html Just another WordPress site Tue, 06 Sep 2011 10:20:09 +0000 hourly 1 https://wordpress.org/?v=6.7.1 By: Reece https://grey-panther.net/2008/09/using-perl-to-access-postgresql-under-windows.html#comment-48 Tue, 06 Sep 2011 10:20:09 +0000 https://grey-panther.net/?p=677#comment-48 How I got it to finally work on 2008 x64:

The DBD::pg package is the one currently maintained, however, the binary of it is compiled by pgfoundary and is compiled in a way where the DLL’s are incompatible when I used our version of ActiveState Perl on windows 2008 x64. Therefore, I found another third party repository and used theirs:

1. On the command line, run: ppm rep add trouchelle.com http://trouchelle.com/ppm/
2. Then start the package manager by running: ppm
3. View all packages, find DBD_Pg and install it.
4. If you are on a 64 bit OS, it will require krb5_32.dll on the system which is the Kerberos DLL from MIT. You can get this by installing the 32 bit version of PgAdmin III, it’s in its install directory.

]]>
By: Cd-MaN https://grey-panther.net/2008/09/using-perl-to-access-postgresql-under-windows.html#comment-383 Tue, 23 Jun 2009 05:39:16 +0000 https://grey-panther.net/?p=677#comment-383 @Anonymous: thank you for the tip!

]]>
By: Anonymous https://grey-panther.net/2008/09/using-perl-to-access-postgresql-under-windows.html#comment-384 Tue, 23 Jun 2009 05:38:33 +0000 https://grey-panther.net/?p=677#comment-384 Many people seem to run into this problem right after install:

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

(or similar). This was reported as a bug on the project site:

http://pgfoundry.org/tracker/index.php?func=detail&aid=1010467&group_id=1000199&atid=754

The solution described there worked for me:

copy pg.dll.manifest to the dir of perl.exe, then rename it to perl.exe.manifest

Also see this forum thread:

http://pgfoundry.org/forum/forum.php?thread_id=1145&forum_id=739

]]>
By: Anonymous https://grey-panther.net/2008/09/using-perl-to-access-postgresql-under-windows.html#comment-640 Wed, 29 Oct 2008 06:39:51 +0000 https://grey-panther.net/?p=677#comment-640 Thank you sooo much!
You’re the man!

]]>