[postgis-users] query multipolygon

jericks JERICKS at co.pierce.wa.us
Wed Jun 10 09:29:37 PDT 2009


Thank you for the information Regina.  Installing the Microsoft Visual C++
2008 Redistributable Package (x86) at
http://www.microsoft.com/downloads/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en
solved our problem.  I tried to build GEOS 3.1 branch from source using
MinGW and Msys, but it didn't work.

Jared


Paragon Corporation-2 wrote:
> 
> Jared,
> When GEOS is distributed with PostgreSQL/PostGIS via stack builder, it is
> compiled with MingW which doesn't introduce any MSVC dependencies.  I
> suppose you could copy those dlls over to the server and put them in the
> same folder with the GEOS dlls and that may work fine. I just use VS for
> ASP.Net development so all that stuff is pretty foreign to me too.
> 
> I haven't actually tried running PostGIS with a MSVC compiled geos and at
> the moment I'm having issues compiling GEOS 3.1 branch and trunk under my
> MingW install.  Could be just my MingW install, though I seem to be able
> to
> compile the GEOS 3.1 released version.
> 
> Hope that helps,
> Regina
> 
> 
> -----Original Message-----
> From: postgis-users-bounces at postgis.refractions.net
> [mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of
> jericks
> Sent: Tuesday, June 09, 2009 6:14 PM
> To: postgis-users at postgis.refractions.net
> Subject: RE: [postgis-users] query multipolygon
> 
> 
> When I look at geos.dll or geos_c.dll with dependency walker they both
> depend on MSVCP90.dll (file not found) MSVCR90.dll (file not found)
> |_Kernel 32.dll
> Kernel 32.dll
> |_ntdll.dll
> I checked our server and it doesn't have either of these missing dlls. 
> Did
> I compile with the wrong version of visual studio?  I used VS 2008.  I am
> a
> Java programmer, so please forgive my ignorance about dlls.  Jars I know a
> lot about.
> 
> Jared
> 
> 
> Paragon Corporation-2 wrote:
>> 
>> Jared,
>> For PostGIS even though you are running on a 64-bit you have to 
>> compile in 32-bit because PostgreSQL runs in 32-bit space.
>> 
>> It could be the version number is off.  Did you try doing a dependency 
>> walk to see what it thinks is missing?
>> 
>> Hope that helps,
>> Regina
>> 
>> -----Original Message-----
>> From: postgis-users-bounces at postgis.refractions.net
>> [mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of 
>> jericks
>> Sent: Tuesday, June 09, 2009 12:08 PM
>> To: postgis-users at postgis.refractions.net
>> Subject: Re: [postgis-users] query multipolygon
>> 
>> 
>> Thanks everyone for the help so far.  We checked out 3.0 from the SVN 
>> branch, recompiled, and it solved our problem (on our development 
>> PostGIS server).
>> Our production PostGIS server is 64bit and is running PostGIS 1.3.6 
>> and GEOS 3.1.0.  So, we checked out 3.1 from SVN branch, recompiled, 
>> and replacing the DLLs didn't work.  Presumably because of a 32/64 bit 
>> issue?  How do you recompile GEOS as 64bit?  We are using Windows and 
>> we have access to visual studio 2008.  Is just recompiling GEOS 
>> enough?
>> 
>> Thanks again,
>> Jared Erickson
>> 
> 
> --
> View this message in context:
> http://www.nabble.com/query-multipolygon-tp23836573p23952277.html
> Sent from the PostGIS - User mailing list archive at Nabble.com.
> 
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
> 
> 
> 
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
> 
> 

-- 
View this message in context: http://www.nabble.com/query-multipolygon-tp23836573p23966062.html
Sent from the PostGIS - User mailing list archive at Nabble.com.




More information about the postgis-users mailing list