Yes, that's because the official python binary for windows is linked
against that dll. You may try pyMinGW, which is a patch to compile
python under MinGW and avoid such errors. You can get the patch and
the instrucctions here:
You may not need pyMinGW. After reading the Install file of the psycopg,
You can compile psycopg under Windows platform with mingw32 compiler.
The software required is:
[...] I skiped some text
3. build psycopg:
3.1. python setup.py build_ext --compiler=mingw32 install
Please read it carefully, it answers your questions about the postgreSQL
headers as well.
Zope-DB mailing list