[postgis-tickets] [PostGIS] #3381: Can't load postgis - 'unknown error 193'

PostGIS trac at osgeo.org
Fri Nov 27 18:34:04 PST 2015


#3381: Can't load postgis - 'unknown error 193'
------------------------------------+---------------------------
  Reporter:  kylotan                |      Owner:  strk
      Type:  defect                 |     Status:  new
  Priority:  medium                 |  Milestone:  PostGIS 2.2.1
 Component:  build/upgrade/install  |    Version:  2.2.x
Resolution:                         |   Keywords:  windows
------------------------------------+---------------------------

Comment (by robe):

 Just to confirm - you were using this one right?

 http://download.osgeo.org/postgis/windows/pg94/postgis-bundle-
 pg94x64-setup-2.2.0-1.exe

 When you install via Stackbuilder -- it shows two, if you chose the 32-bit
 one time then it shows that error.  If one time

 I just checked one of the installs I did via stackbuilder and it shows
 this but that's a windows 2012 R2 (which should be pretty similar to
 windows 8 and 8.1)


 {{{
 POSTGIS="2.2.0 r14208" GEOS="3.5.0-CAPI-1.9.0 r4090" PROJ="Rel. 4.9.1, 04
 March 2015" GDAL="GDAL 2.0.1, released 2015/09/15" LIBXML="2.7.8"
 LIBJSON="0.12" RASTER
 }}}

 So I think the binaries are okay.


 Now if you did make a mistake once and copied the 32-bit libraries or
 installed the 32-bit install and reinstall the 64-bit postgis. Your
 install might still be broken.

 This is because the libxml2-2.dll doesn't get overwritten (that's because
 sometimes EDB distributes that and sometimes they don't so the installer
 installs one if it doesn't see one present, and if you just copied from
 the zip, you would get that one).

 So if that is the issue, what you could do is delete the libxml2-2.dll and
 copy the one called libxml2.dll (and give the new copy name libxml2-2.dll
 )

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3381#comment:2>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list