First logged on GitHub:
https://github.com/metacpan/metacpan-web/issues/2266
Then CPAN:
https://rt.cpan.org/Ticket/Display.html?id=131708
1st issue:
cpan install DBD::Pg
fails looking for LIBPQ.dll
Fix:
- set Postgres ENVIRONMENT VARIABLES so CPAN/Perl could find all PostgreSQL binaries
- Installed MinGW then installed pexports MinGW package so I could follow the DBD::Pg README for Strawberry
- Exported symbols from LIBPQ.DLL as described above
Current Issue:
cpan DBD::Pg
install now failing with the follow error for all exported symbols above:
dbdimp.o:dbdimp.c:(.text+0x479): undefined reference to 'PQstatus'
<...etc...etc...>
Anyone know how I can get this installed and working properly so I can drive Postgres with Perl?