From: Tom Lane <tgl@sss.pgh.pa.us>
To: Prakash Ramakrishnan <prakash.ramakrishnan.ap@nielsen.com>
Cc: bricklen <bricklen@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15735: postgis extension missing
Date: Thu, 04 Apr 2019 15:35:21 -0400
Message-ID: <30691.1554406521@sss.pgh.pa.us> (raw)
In-Reply-To: <CAA2eZXzpdspD7F3EDP17dmDWsqbzeL-MA3QSndoccf7+8_L=fQ@mail.gmail.com>
References: <15735-49e3c471231f407c@postgresql.org>
<CAGrpgQ8RqCpiuF73y4NkExQk2yfqEg-R5nsX6a3Rtrn3A-1sbA@mail.gmail.com>
<CAA2eZXzpdspD7F3EDP17dmDWsqbzeL-MA3QSndoccf7+8_L=fQ@mail.gmail.com>
Prakash Ramakrishnan <prakash.ramakrishnan.ap@nielsen.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, prakash.ramakrishnan.ap@nielsen.com, bricklen@gmail.com
Subject: Re: BUG #15735: postgis extension missing
In-Reply-To: <30691.1554406521@sss.pgh.pa.us>
References: <15735-49e3c471231f407c@postgresql.org> <CAGrpgQ8RqCpiuF73y4NkExQk2yfqEg-R5nsX6a3Rtrn3A-1sbA@mail.gmail.com> <CAA2eZXzpdspD7F3EDP17dmDWsqbzeL-MA3QSndoccf7+8_L=fQ@mail.gmail.com> <30691.1554406521@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox