<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:16px"><div id="yui_3_16_0_1_1439753510197_1443896" dir="ltr">Going by Synaptic, from the UbuntuGIS unstable repo, there is a combined postgresql/postgis package. This should give less potential problems than separate packages where Postgis may not have been built against the same Postgresql. Especially if you installed Postgresql from a different repository. <br></div><div id="yui_3_16_0_1_1439753510197_1444454" dir="ltr"><br></div><div id="yui_3_16_0_1_1439753510197_1444455" dir="ltr">eg: Postgesql v9.4 from the Postgres repo will not work with Postgis 2.1 complied for 9.3 from the UbuntuGIS repository.<br></div><div id="yui_3_16_0_1_1439753510197_1444055" dir="ltr"><br></div><div id="yui_3_16_0_1_1439753510197_1444056" dir="ltr">The combined package originates from DebianGIS & is included in UbuntuGIS: postgresql-9.3-postgis-2.1</div><div id="yui_3_16_0_1_1439753510197_1444103" dir="ltr"><br></div><div id="yui_3_16_0_1_1439753510197_1444171" dir="ltr">Uninstalling your old ones & replacing with this should give you a complete matching Postgres/Postgis install, you can add Postgis separately afterwards which I think only adds some binaries like shp2pgsql.</div><div id="yui_3_16_0_1_1439753510197_1444172" dir="ltr"><br></div><div id="yui_3_16_0_1_1439753510197_1444173" dir="ltr">Cheers</div><div id="yui_3_16_0_1_1439753510197_1444177" dir="ltr"><br></div><div id="yui_3_16_0_1_1439753510197_1444174" dir="ltr"> Brent Wood<br></div><div id="yui_3_16_0_1_1439753510197_1443871"><span></span></div><br> <div id="yui_3_16_0_1_1439753510197_1444101" style="font-family: times new roman, new york, times, serif; font-size: 16px;"> <div id="yui_3_16_0_1_1439753510197_1444100" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div id="yui_3_16_0_1_1439753510197_1444099" dir="ltr"> <hr id="yui_3_16_0_1_1439753510197_1444102" size="1"> <font id="yui_3_16_0_1_1439753510197_1444175" face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Johan Van de Wauw <johan.vandewauw@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> Mike Farmer <mwgf@gmx.com> <br><b><span style="font-weight: bold;">Cc:</span></b> "ubuntu@lists.osgeo.org" <ubuntu@lists.osgeo.org>; cg <namtok@gmx.net> <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, August 25, 2015 8:35 AM<br> <b id="yui_3_16_0_1_1439753510197_1444500"><span id="yui_3_16_0_1_1439753510197_1444499" style="font-weight: bold;">Subject:</span></b> Re: [Ubuntu] Problems with postgis installation<br> </font> </div> <div id="yui_3_16_0_1_1439753510197_1444176" class="y_msg_container"><br>On Mon, Aug 24, 2015 at 10:19 PM, Mike Farmer <<a ymailto="mailto:mwgf@gmx.com" href="mailto:mwgf@gmx.com">mwgf@gmx.com</a>> wrote:<br>> Hi Johan,<br>><br>> I checked again in Synaptic and it does appear to be on my system. I<br>> reinstalled it and I tried creating the postgis extension again:<br>><br>> psql -d gis -c 'CREATE EXTENSION postgis'<br>><br>><br>> and got a new return:<br>><br>> ERROR: could not load library<br>> "/usr/lib/postgresql/9.3/lib/rtpostgis-2.1.so": libnetcdf.so.7: cannot<br>> open shared object file: No such file or directory<br>><br>> So I guess another unmet dependency...<br>How did you install postgis from ubuntugis?<br><br>Note that the recommended way is:<br>sudo apt-add repository ppa:ubuntugis/ubuntugis-unstable<br>sudo apt-get update<br>sudo apt-get install postgis<br><br>This should get you all dependencies. Netcdf will be one of them. Like<br>libkml it is a dependency of gdal.<br><br>Kind Regards,<br>Johan<br>_______________________________________________<br>UbuntuGIS mailing list<br><a ymailto="mailto:Ubuntu@lists.osgeo.org" href="mailto:Ubuntu@lists.osgeo.org">Ubuntu@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/ubuntu" target="_blank">http://lists.osgeo.org/mailman/listinfo/ubuntu</a><br><a href="http://trac.osgeo.org/ubuntugis/wiki" target="_blank">http://trac.osgeo.org/ubuntugis/wiki</a><br><br><br></div> </div> </div> </div></body></html>