pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #15735: postgis extension missing
5+ messages / 4 participants
[nested] [flat]

* BUG #15735: postgis extension missing
@ 2019-04-04 12:59  PG Bug reporting form <noreply@postgresql.org>
  0 siblings, 1 reply; 5+ messages in thread

From: PG Bug reporting form @ 2019-04-04 12:59 UTC (permalink / raw)
  To: pgsql-bugs@lists.postgresql.org; +Cc: prakash.ramakrishnan.ap@nielsen.com

The following bug has been logged on the website:

Bug reference:      15735
Logged by:          ramakrishnan r
Email address:      prakash.ramakrishnan.ap@nielsen.com
PostgreSQL version: 11.2
Operating system:   Red Hat Enterprise Linux Server release 7.3 (Maipo
Description:        

Hi Team,

Am trying to install postgis in community edition getting below error please
do the needful.

-bash-4.2$ ./psql -p 5439
psql (11.2)
Type "help" for help.

postgres=# create extension postgis;
ERROR:  could not open extension control file
"/usr/pgsql-11/share/extension/postgis.control": No such file or directory
postgres=#
postgres=#



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: BUG #15735: postgis extension missing
@ 2019-04-04 17:28  bricklen <bricklen@gmail.com>
  parent: PG Bug reporting form <noreply@postgresql.org>
  0 siblings, 1 reply; 5+ messages in thread

From: bricklen @ 2019-04-04 17:28 UTC (permalink / raw)
  To: prakash.ramakrishnan.ap@nielsen.com; pgsql-bugs@lists.postgresql.org

On Thu, Apr 4, 2019 at 6:00 AM PG Bug reporting form <noreply@postgresql.org>
wrote:

> Bug reference:      15735
> Email address:      prakash.ramakrishnan.ap@nielsen.com
> PostgreSQL version: 11.2
> Operating system:   Red Hat Enterprise Linux Server release 7.3 (Maipo
>
> Hi Team,
>
> Am trying to install postgis in community edition getting below error
> please
> do the needful.
>
> -bash-4.2$ ./psql -p 5439
> psql (11.2)
> Type "help" for help.
>
> postgres=# create extension postgis;
> ERROR:  could not open extension control file
> "/usr/pgsql-11/share/extension/postgis.control": No such file or directory


Have you installed PostGIS in your RedHat server?
https://postgis.net/install/. The binary needs to be installed before
installing the extension.

^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: BUG #15735: postgis extension missing
@ 2019-04-04 17:52  Prakash Ramakrishnan <prakash.ramakrishnan.ap@nielsen.com>
  parent: bricklen <bricklen@gmail.com>
  0 siblings, 1 reply; 5+ messages in thread

From: Prakash Ramakrishnan @ 2019-04-04 17:52 UTC (permalink / raw)
  To: bricklen <bricklen@gmail.com>; +Cc: pgsql-bugs@lists.postgresql.org

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

On Thu, Apr 4, 2019, 22:58 bricklen <bricklen@gmail.com> wrote:

>
> On Thu, Apr 4, 2019 at 6:00 AM PG Bug reporting form <
> noreply@postgresql.org> wrote:
>
>> Bug reference:      15735
>> Email address:      prakash.ramakrishnan.ap@nielsen.com
>> PostgreSQL version: 11.2
>> Operating system:   Red Hat Enterprise Linux Server release 7.3 (Maipo
>>
>> Hi Team,
>>
>> Am trying to install postgis in community edition getting below error
>> please
>> do the needful.
>>
>> -bash-4.2$ ./psql -p 5439
>> psql (11.2)
>> Type "help" for help.
>>
>> postgres=# create extension postgis;
>> ERROR:  could not open extension control file
>> "/usr/pgsql-11/share/extension/postgis.control": No such file or directory
>
>
> Have you installed PostGIS in your RedHat server?
> https://postgis.net/install/. The binary needs to be installed before
> installing the extension.
>

^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: BUG #15735: postgis extension missing
@ 2019-04-04 19:35  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Prakash Ramakrishnan <prakash.ramakrishnan.ap@nielsen.com>
  0 siblings, 1 reply; 5+ messages in thread

From: Tom Lane @ 2019-04-04 19:35 UTC (permalink / raw)
  To: Prakash Ramakrishnan <prakash.ramakrishnan.ap@nielsen.com>; +Cc: bricklen <bricklen@gmail.com>; pgsql-bugs@lists.postgresql.org

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





^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: BUG #15735: postgis extension missing
@ 2019-04-04 19:40  Prakash Ramakrishnan <prakash.ramakrishnan.ap@nielsen.com>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 5+ messages in thread

From: Prakash Ramakrishnan @ 2019-04-04 19:40 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: bricklen <bricklen@gmail.com>; pgsql-bugs@lists.postgresql.org

Ok, I'll check it out.

On Fri, Apr 5, 2019, 01:05 Tom Lane <tgl@sss.pgh.pa.us> wrote:

> 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
>

^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2019-04-04 19:40 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-04-04 12:59 BUG #15735: postgis extension missing PG Bug reporting form <noreply@postgresql.org>
2019-04-04 17:28 ` bricklen <bricklen@gmail.com>
2019-04-04 17:52   ` Prakash Ramakrishnan <prakash.ramakrishnan.ap@nielsen.com>
2019-04-04 19:35     ` Tom Lane <tgl@sss.pgh.pa.us>
2019-04-04 19:40       ` Prakash Ramakrishnan <prakash.ramakrishnan.ap@nielsen.com>

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