<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi John<div><br></div><div>I ran into this recently. You have to use the 32 bit postgres to use postgis. Once installed you can use the stack builder to install postgis.</div><div><br></div><div>hth</div><div>charles</div><div><br><div><div>On Nov 5, 2010, at 2:11 AM, John Zhang wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi all,<div><br></div><div>After the successful installation of PostgreSQL 9.0 (postgresql-9.0.1-1-windows_x64.exe  which has<b> no Spatial Extensions</b>) on Windows 7 ,  I execute postgis-pg90-setup-1.5.2-3.exe without success. The error message says:</div>
<div>"<font class="Apple-style-span" color="#FF6666">psql:C:/Program Files/PostgreSQL/9.0/share/contrib/postgis-1.5/postgis.sql:58: ERROR:  could not load library "C:/Program Files/PostgreSQL/9.0/lib/postgis-1.5.dll": %1 is not a valid Win32 application</font>." </div>
<div>I then checked the missing file (<span class="Apple-style-span" style="color: rgb(255, 102, 102); ">postgis-1.5.dll</span>) which was there.</div><div><br></div><div>Could anyone of you tell me how to solve it?</div>
<div><br></div><div>Thank you very much.</div><div><br>-- <br><span style="font-family:arial, sans-serif;font-size:12.5px;border-collapse:collapse;color:rgb(136, 136, 136)"><div>John Zhang</div><div>BroadXtending Technologies Ltd.</div>
<div>Tel: 86-10-6262-7327 </div><div><br></div></span><br>
</div>
_______________________________________________<br>postgis-users mailing list<br><a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>http://postgis.refractions.net/mailman/listinfo/postgis-users<br></blockquote></div><br></div></body></html>