[postgis-users] problems while upgrading postgis

Paolo Importuni imppao at gmail.com
Wed Nov 9 11:45:28 PST 2016


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

> On Wed, Nov 09, 2016 at 06:33:28PM +0100, Paolo Importuni wrote:
> > 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:
> > > >
> > > > 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>
> >
> > 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"
>
> Not the psql command I gave you above, right ?
> Did you try that ? Or what are you doing ?
>

I ran exactly the command you wrote and it says it
"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?
>
> If you're building PostGIS yourself  you need postgresql server headers.
>
> No I´m not doing that

> --strk;
>

Thanks

Paolo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20161109/8972d26f/attachment.html>


More information about the postgis-users mailing list