[postgis-users] PostGIS 2.0 instalation problem

Paragon Corporation lr at pcorp.us
Fri Dec 21 08:47:44 PST 2012

Well looks like 998 means some sort of memory allocation error or corrupted
Last time I saw a problem like this was when the 2 GEOS files were out of
The PostGIS windows packages come with two GEOS files:
where for 2.0.1 the 3-* I think was 3-3-5 .libgeos_c-1.dll depends on
If the file libgeos_c-1.dll  is in use during install, it should throw a
warning of some sort and error out, but if per chance it doesn't that's a
packaging mistake on my part.
If those two are out of synch postgis will fail to load and I think gives a
998 or something similar.
To fix, shut down your postgresql service, restart and then install (make
sure no one is accessing your postgresql (particularly trying to run postgis
Or shut down copy the files from one of the zip I mentioned and then start
up the service again.


From: postgis-users-bounces at lists.osgeo.org
[mailto:postgis-users-bounces at lists.osgeo.org] On Behalf Of Nahum Castro
Sent: Thursday, December 20, 2012 9:19 AM
To: PostGIS Users Discussion; postgis-users at postgis.refractions.net
Subject: Re: [postgis-users] PostGIS 2.0 instalation problem

Same error

Unknown 998

Windows 7 sp1 64
Postgresql: "PostgreSQL 9.2.2, compiled by Visual C++ build 1600, 64-bit"
Postgis 2.0.1 for Postgresql x64

Nahum Castro
Leon, Guanajuato, Mexico
e-mail: pedro1_72 [en] yahoo [punto] com


De: wobo <mcwobo at hotmail.com>
Para: postgis-users at postgis.refractions.net 
Enviado: Martes, 18 de diciembre, 2012 18:55:43
Asunto: Re: [postgis-users] PostGIS 2.0 instalation problem


I guess this e-mail was intended for somebody else (Willy).
I still haven't been able to install PostGIS 2.0 on my Windows XP, but am
using it on Windows 7 succesfully.

Yours sincerely,


Date: Tue, 18 Dec 2012 15:48:57 -0800
From: [hidden email]
To: [hidden email]
Subject: Re: PostGIS 2.0 instalation problem

when you say compressed postgis file -- you mean the one on this page?
I unfortunately don't have a windows xp machine readily handy to test with.
I haven't tried upgrading my test to 9.1.7 to rule that out as an issue so
I'll give that a try.
This issue is usually caused by libxml2-2.dll incompatibilities.  Though I
gather you are using the one packaged with PostGIS since it looks like the
postgres one isu using libxml2.dll
Have you been running PostGIS 2 or 1.5 on your windows xp successfully in
http://www.postgis.us <http://www.postgis.us/> 


From: Willy-Bas Loos [mailto:[hidden email]] 
Sent: Tuesday, December 18, 2012 11:30 AM
To: PostGIS Users Discussion; Paragon Corporation
Subject: Re: [postgis-users] PostGIS 2.0 instalation problem


I have the same problem.

I installed postgres on an XP PC, which worked fine. (PostgreSQL 9.1.7,
compiled by Visual C++ build 1500, 32-bit)

Then I used the StackBuilder to install PostGIS 2.

Upon creating the extension, i get the error "ERROR: could not load library
"C:/Program Files/PostgreSQL/9.1/lib/postgis-2.0.dll": unknown error 998"

The same happens when executing the sql "create extension postgis;"

I tried pasting the contents from the bin folder from the compressed postgis
installation file into ../9.1/bin/, but to no avail.

I used Depends.exe to diagnose, like Paragon suggested.

I included the dwi-file as an attachment.

Is there anything i can do?



On Sat, May 19, 2012 at 2:50 AM, wobo <[hidden email]> wrote:

So, I've been trying to install PostGIS 2.0 over and over again on several
different Windows XP computers, but didn't succeed in getting it up and
running. So I ended up borrowing my brother's Windows 7 pc, using the exact
same download (postgreSQL + postgis using stackbuilder) which took me about
5 minutes to succesfully install the whole thing.

I have no clue why it doesn't work on my XP. More exactly, why it can't find
the correctly located postgis-2.0.dll-file. But at least I'll be able to
test and recap the 'PostGIS in Action' on Windows 7 from now on.

Many thanks for suggesting and helping anyway.

View this message in context:

Sent from the PostGIS - User mailing list archive at Nabble.com.
postgis-users mailing list
[hidden email]

"Quality comes from focus and clarity of purpose" -- Mark Shuttleworth

postgis-users mailing list 
[hidden email] 


If you reply to this email, your message will be added to the discussion
To unsubscribe from PostGIS 2.0 instalation problem, click here.


View this message in context: RE: PostGIS 2.0 instalation problem
Sent from the PostGIS - User mailing list archive
<http://postgis.17.n6.nabble.com/PostGIS-User-f3516033.html>  at Nabble.com.

postgis-users mailing list
postgis-users at lists.osgeo.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20121221/4c5b683b/attachment.html>

More information about the postgis-users mailing list