<div dir="ltr"><div><div><div><div><div>    <a href="mailto:postgis-tickets@lists.osgeo.org">postgis-tickets@lists.osgeo.org</a>.

          <br><br></div>Hi,<br><br></div>I need to migrate the postgis db to server 1.5 to 2.1 on new hardware.<br><br></div>1) I have installed the postgres9.3 and postgis2.1 in new centos server .<br></div><div>2) I took db dump on postgis server 1.5 vis pg_dump command.<br>
</div><div>3) i can see the below on sql file<br>CREATE FUNCTION box3d_in(cstring) RETURNS box3d<br>    LANGUAGE c IMMUTABLE STRICT<br>    AS '$libdir/postgis-1.5', 'BOX3D_in';<br><br></div><div>4) when i'm restoring the db file on postgis server 2.1 i am getting error<br>
<br>“ERROR: could not access file “$libdir/postgis-1.5”: No such file or directory"<br><br></div><div><br></div>I can’t figure out how to fix this.<br><br></div>/Rajat<br><div><div><div><div><div><br>-- <br><div dir="ltr">
<b>Rajat Gupta<br>
</b><b><img style="margin: 0pt 0.2ex; vertical-align: middle;" src="http://../1/e/330"></b></div>
</div></div></div></div></div></div>