[postgis-users] problems while upgrading postgis

Paolo Importuni imppao at gmail.com
Wed Nov 9 09:33:28 PST 2016


Hi strk,
still problems, it says:
"You need to install postgresql-server-dev-X.Y for building a server-side
extension or libpq-dev for building a client-side application"

Do I need to apt-install postgresql-server-dev-X.Y? What's the use?

Thanks again

Paolo

2016-11-09 12:06 GMT+01:00 Sandro Santilli <strk at kbt.io>:

> On Wed, Nov 09, 2016 at 11:44:53AM +0100, Paolo Importuni wrote:
> > Hi strk,
> > I've just tried but it complains that
> > "ERROR:  type "raster" does not exist"
>
> This is because postgis _EXTENSION_ is forced to have
> also raster in it :(
>
> So the fix is for you to load raster script for 2.0.0
>
> psql -f `pg_config --sharedir`/contrib/postgis-2.0/rtpostgis.sql <yourdb>
>
> --strk;
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20161109/fe29deed/attachment.html>


More information about the postgis-users mailing list