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.
eg: Postgesql v9.4 from the Postgres repo will not work with Postgis 2.1
complied for 9.3 from the UbuntuGIS repository.
The combined package originates from DebianGIS & is included in UbuntuGIS:
postgresql-9.3-postgis-2.1
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.
Cheers
Brent Wood
From: Johan Van de Wauw <[email protected]>
To: Mike Farmer <[email protected]>
Cc: "[email protected]" <[email protected]>; cg <[email protected]>
Sent: Tuesday, August 25, 2015 8:35 AM
Subject: Re: [Ubuntu] Problems with postgis installation
On Mon, Aug 24, 2015 at 10:19 PM, Mike Farmer <[email protected]> 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
_______________________________________________
UbuntuGIS mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/ubuntu
http://trac.osgeo.org/ubuntugis/wiki
_______________________________________________
UbuntuGIS mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/ubuntu
http://trac.osgeo.org/ubuntugis/wiki