I had that problem once. It was related to a missing (or outdated) libxml2-2.dll in the /bin folder. I would stop the postgres service and try manually recopying all of the files to their appropriate locations.<div><br clear="all">
<div>- John</div><div><br></div><div><br></div><br><br>
<br><br><div class="gmail_quote">On Thu, Mar 29, 2012 at 6:25 AM, <span dir="ltr"><<a href="mailto:feurbano@clix.pt">feurbano@clix.pt</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear list,<br>
we are trying to install the latest available experimental binaries for windows<br>
(postgis-pg91-binaries-2.0.0beta4w32).<br>
We installed postgres 9.1 (32bit) and than run the installer file<br>
'makepostgisdb_using_extensions.bat' with the proper (hopefully) set.<br>
We get this error:<br>
<br>
"C:\Program Files (x86)\PostgreSQL\9.1\bin\psql" -d "sam" -c "CREATE EXTENSION<br>
postgis;"<br>
ERROR: could not load library "C:/Program Files<br>
(x86)/PostgreSQL/9.1/lib/postgis-2.0.dll": The specified module could not be found.<br>
<br>
We are installing on a Windows Server 2008 R2 64-bit and we have installed<br>
postgresql-9.1.3-1-windows.exe (32-bit)<br>
<br>
The file 'makepostgisdb_using_extensions.bat' look like this:<br>
REM this is an example of how to create a new db and spatially enable it using<br>
CREATE EXTENSION<br>
set PGPORT=5432<br>
set PGHOST=localhost<br>
set PGUSER=postgres<br>
set PGPASSWORD=***<br>
set THEDB=sam<br>
REM PGINSTALL=C:\Program Files\PostgreSQL\9.1<br>
set PGINSTALL=C:\Program Files (x86)\PostgreSQL\9.1<br>
set PGADMIN=%PGINSTALL%\pgAdmin III<br>
set PGBIN=%PGINSTALL%\bin\<br>
set PGLIB=%PGINSTALL%\lib\<br>
set POSTGISVER=2.0<br>
xcopy bin\*.* "%PGBIN%"<br>
xcopy /I /S bin\postgisgui\* "%PGBIN%\postgisgui"<br>
xcopy /I plugins.d "%PGADMIN%\plugins.d"<br>
xcopy lib\*.* "%PGLIB%"<br>
xcopy share\extension\*.* "%PGINSTALL%\share\extension"<br>
xcopy /I share\contrib\postgis-%POSTGISVER%<br>
"%PGINSTALL%\share\contrib\postgis-%POSTGISVER%"<br>
"%PGBIN%\psql" -c "CREATE DATABASE %THEDB%"<br>
"%PGBIN%\psql" -d "%THEDB%" -c "CREATE EXTENSION postgis;"<br>
"%PGBIN%\psql" -d "%THEDB%" -c "CREATE EXTENSION postgis_topology;"<br>
<br>
REM Uncomment the below line if this is a template database<br>
REM "%PGBIN%\psql" -d "%THEDB%" -c "UPDATE pg_database SET datistemplate = true<br>
WHERE datname = '%THEDB%';GRANT ALL ON geometry_columns TO PUBLIC; GRANT ALL ON<br>
spatial_ref_sys TO PUBLIC"<br>
<br>
<br>
"C:/Program Files (x86)/PostgreSQL/9.1/lib/postgis-2.0.dll" is where it is<br>
supposed to be.<br>
Any suggestion?<br>
<br>
Thanks a lot<br>
<br>
Ferdinando<br>
<br>
<br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</blockquote></div><br></div>