[postgis-devel] Problems compiling PostGIS under MinGW
Mark Cave-Ayland
mark.cave-ayland at siriusit.co.uk
Thu May 27 08:08:28 PDT 2010
Jorge Arévalo wrote:
> Hi,
>
> I'm compiling PostGIS and all needed stuff in MinGW following this:
> http://trac.osgeo.org/postgis/wiki/UsersWikiWinCompile (BTW, I've made
> two little changes in this wiki page).
>
> My problem is starting postgreSQL server. If I execute:
>
> /c/postgres/bin/pg_ctl.exe -D /c/postgres/data -l logfile start
>
> I get the error message:
>
> This application has failed to start because libpq.dll was not found.
> Re-installing the application may fix this problem mingw
>
> The dll file is in its place (/c/postgres/lib), and I've compiled
> everthing, several times. I can't provide a log file because is not
> generated
>
> Any clues? Regina, I think you provide PostGIS Windows builds, what
> enviroment are you using?
Hmmmm I seem to remember in some cases I had to copy libpq.dll from
postgres/lib to postgres/bin due to the way in which PATH is set on
Windows. Does that help at all?
ATB,
Mark.
--
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063
Sirius Labs: http://www.siriusit.co.uk/labs
More information about the postgis-devel
mailing list