[Ubuntu] Problems with postgis installation
Johan Van de Wauw
johan.vandewauw at gmail.com
Mon Aug 24 13:35:56 PDT 2015
On Mon, Aug 24, 2015 at 10:19 PM, Mike Farmer <mwgf at gmx.com> wrote:
> Hi Johan,
>
> I checked again in Synaptic and it does appear to be on my system. I
> reinstalled it and I tried creating the postgis extension again:
>
> psql -d gis -c 'CREATE EXTENSION postgis'
>
>
> and got a new return:
>
> ERROR: could not load library
> "/usr/lib/postgresql/9.3/lib/rtpostgis-2.1.so": libnetcdf.so.7: cannot
> open shared object file: No such file or directory
>
> So I guess another unmet dependency...
How did you install postgis from ubuntugis?
Note that the recommended way is:
sudo apt-add repository ppa:ubuntugis/ubuntugis-unstable
sudo apt-get update
sudo apt-get install postgis
This should get you all dependencies. Netcdf will be one of them. Like
libkml it is a dependency of gdal.
Kind Regards,
Johan
More information about the Ubuntu
mailing list