[postgis-users] Re: Load of [...] postgis.dll failed.

William C. Rowden rowdenw at hurston.org
Wed May 7 11:55:55 PDT 2003


On 2003-05-06T21:19:44 +0000, William C. Rowden wrote:
> I [...] didn't want to patch the makefile, so I downloaded a
> pre-compiled version instead [....]

I modified a single line in the makefile, and then the build and
installation worked.  With the change of "$libdir" to "/usr/lib" in
the "postgis.sql" file, I was able to set up the database with PostGIS
support according to the instructions in the "Build a layer in PostGIS
and View it from Mapserver" section of "The NON-UNIX User's Guide to
Installing PostGIS on Windows"
(<http://postgis.refractions.net/windows/WindowsHowTo.html>).

I couldn't, however, find the "great_lakes.shp" sample, nor was
modifying the itasca demo successful:

	msPOSTGISLayerWhichShapes(): Query error. prep_DB:Error
	executing POSTGIS DECLARE statement (0.6 failed - retried 0.5
	and it failed too). DECLARE mycursor BINARY CURSOR FOR SELECT
	asbinary(force_collection(force_2d()),'NDR'),OID::text from
	WHERE && setSRID('BOX3D(388107.634400379
	5200301.16644403,500896.339019834 5313063.02375446)'::BOX3D,
	find_srid('','','') )

This is another issue, though.  I'll search the mailing list archives
and start another thread on this mailing list, or on the Mapserver
mailing list.
-- 
     -William



More information about the postgis-users mailing list