[postgis-devel] Win32 crashes with PostGIS 1.1.4 / PostgreSQL 8.2 -- solved

Mark Cave-Ayland mark.cave-ayland at ilande.co.uk
Mon Oct 9 09:42:42 PDT 2006

Hi everyone,

After over a week of working on this, I have finally discovered why my
pgsql2shp.exe executables have been crashing on PostgreSQL 8.2 betas -
an incorrect link line for pgsql2shp.exe was triggering a bug in MingW's
linker (sigh). See here for the gory details:

In fact, the error was being caused by a redundant PGFELIBS line within
a mingw-specific section that was overwriting the correct version - I've
committed a fix by removing the offending line. Apologies that it took
so long to find and fix the error.

Given that this prevents MingW Win32 users from building working
pgsql2shp executables, I'd be inclined to say that this warrants another
release for the benefit of the Win32 PostgreSQL installer people.
Markus, this could also give you a chance to bump the version numbers on
the JDBC driver to match the PostGIS version if you felt it were



More information about the postgis-devel mailing list