Re: BUG #15735: postgis extension missing

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Prakash Ramakrishnan <prakash(dot)ramakrishnan(dot)ap(at)nielsen(dot)com>
Cc: bricklen <bricklen(at)gmail(dot)com>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #15735: postgis extension missing
Date: 2019-04-04 19:35:21
Message-ID: 30691.1554406521@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Prakash Ramakrishnan <prakash(dot)ramakrishnan(dot)ap(at)nielsen(dot)com> writes:
>>> postgres=# create extension postgis;
>>> ERROR: could not open extension control file
>>> "/usr/pgsql-11/share/extension/postgis.control": No such file or directory

> Yes, it's done. Already installed postgis but not able to create the
> extension.

Well, it's not there in the installation you're using. I speculate
that you are using PGDG server RPMs but installed a Postgis RPM that's
meant to go with Red Hat's postgresql RPMs. The file layouts are
different between the two sets of RPMs, so mix-and-match won't work.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Prakash Ramakrishnan 2019-04-04 19:40:48 Re: BUG #15735: postgis extension missing
Previous Message Prakash Ramakrishnan 2019-04-04 17:52:18 Re: BUG #15735: postgis extension missing