[gdal-dev] Re: [postgis-devel] Compiling PostGIS + GDAL + WKT
Raster in Windows with MinGW
Jorge Arévalo
jorge.arevalo at deimos-space.com
Wed Jun 2 12:11:20 EDT 2010
On Tue, Jun 1, 2010 at 4:55 PM, Pierre Racine
<Pierre.Racine at sbf.ulaval.ca> wrote:
> Try with GDAL 1.7.1 instead... this is the I could compile with (--without-libtool).
>
Many thanks, Pierre. At the end, it compiled with GDAL 1.7.1. Now, the
problem is a pretty
ERROR: could not load library "c:/postgres/lib/rtpostgis.dll": The
specified module could not be found
while executing rtpostgis.sql. The file rtpostgis.dll does exist in
its location (c:/postgres/lib). And I've tested with:
- Copying rtpostgis.dll to /c/postgres/bin (I had to do something
similar with libpq.dll)
- Setting LIBDIR to "/c/postgres/lib" and "c:/postgres/lib" and
restarting the server
It didn't work. Any ideas?
Thanks again, and best regards,
Jorge
>>-----Original Message-----
>>From: postgis-devel-bounces at postgis.refractions.net [mailto:postgis-devel-
>>bounces at postgis.refractions.net] On Behalf Of Jorge Arévalo
>>Sent: 31 mai 2010 07:42
>>To: gdal-dev at lists.osgeo.org; PostGIS Development Discussion
>>Subject: [postgis-devel] Compiling PostGIS + GDAL + WKT Raster in Windows with MinGW
>>
>>Hello,
>>
>>I'm trying to compile WKT Raster [1] in Windows using MinGW 5.1.6. I
>>compiled PostgreSQL 8.4.3, PostGIS 1.4.2 and GDAL 1.7.2 properly
>>following these instructions:
>>
>>http://trac.osgeo.org/gdal/wiki/BuildingWithMinGW (for GDAL)
>>http://trac.osgeo.org/postgis/wiki/UsersWikiWinCompile (for PostgreSQL
>>+ PostGIS)
>>
>>Now I'm trying to compile WKT Raster, but I get thousands of messages
>>"undefined reference to..." in libgdal.a (one of the files WKT Raster
>>is trying to link to). Seems to be a problem of "naming convention",
>>or similar. For example, one of the error messages is:
>>
>>undefined reference to `GEOSOverlaps'
>>
>>If I execute nm libgdal.a | grep "GEOSOverlaps", I get this:
>>
>>U _GEOSOverlaps
>>
>>With an underscore before function's name. I think that's the problem,
>>because if I execute the same command in a Linux machine, where I
>>succeeded to compile WKT Raster, I get:
>>
>>U GEOSOverlaps
>>
>>Without underscore. The name expected.
>>
>>Am I right? Any clues on how to solve this problem with MinGW? I
>>attach a build log file
>>
>>Many thanks in advance.
>>
>>Best regards,
>>
>>--
>>Jorge Arévalo
>>DEIMOS Space
>>Internet & Mobilty Division
>>Ronda de Poniente 19. Edificio Fiteni VI, portal 2, 2º
>>28760 Tres Cantos (Madrid)
>>Tel: +34 91 806 34 50 - ext: 155
>>jorge.arevalo at deimos-space.com
>>
>>[1] http://trac.osgeo.org/postgis/wiki/WKTRaster
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>
More information about the gdal-dev
mailing list