Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hC892-0004qF-JJ for pgsql-bugs@arkaria.postgresql.org; Thu, 04 Apr 2019 19:35:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hC890-0006ua-Du for pgsql-bugs@arkaria.postgresql.org; Thu, 04 Apr 2019 19:35:26 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hC890-0006uT-6N for pgsql-bugs@lists.postgresql.org; Thu, 04 Apr 2019 19:35:26 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hC88y-0002nu-27 for pgsql-bugs@lists.postgresql.org; Thu, 04 Apr 2019 19:35:25 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x34JZLh5030692; Thu, 4 Apr 2019 15:35:22 -0400 From: Tom Lane To: Prakash Ramakrishnan cc: bricklen , pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15735: postgis extension missing In-reply-to: References: <15735-49e3c471231f407c@postgresql.org> Comments: In-reply-to Prakash Ramakrishnan message dated "Thu, 04 Apr 2019 23:22:18 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <30690.1554406521.1@sss.pgh.pa.us> Date: Thu, 04 Apr 2019 15:35:21 -0400 Message-ID: <30691.1554406521@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Prakash Ramakrishnan 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