<div dir="ltr"><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Saranya Kuniyil</b> <span dir="ltr"><<a href="mailto:saranyak578@gmail.com">saranyak578@gmail.com</a>></span><br>Date: Tue, Feb 7, 2017 at 10:02 AM<br>Subject: CREATE EXTENSION postgis returns error<br><br><br><div dir="ltr"><div>When I use "CREATE EXTENSION postgis", I'm getting : <br>curs.execute("CREATE EXTENSION postgis;") psycopg2.InternalError: could not load library "/usr/lib/postgresql/9.5/lib/<a href="http://postgis-2.3.so" target="_blank">p<wbr>ostgis-2.3.so</a>": /usr/lib/liblwgeom-2.3.so.0: undefined symbol: GEOSClipByRect<br><br>Then I try to use<br><br>apt-get install liblwgeom-2.3 ....but it shows<br><br>Reading package lists... Done Building dependency tree<br>Reading state information... Done Note, selecting 'liblwgeom-2.3-0' for regex 'liblwgeom-2.3' liblwgeom-2.3-0 is already the newest version (2.3.1+dfsg-1.pgdg16.04+1). The following packages were automatically installed and are no longer required: libcrypto++9v5 libpango1.0-0 Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.<br><br><br>how can I fix it?<br><br><br></div>Thank you<br></div>
</div><br></div>