public inbox for [email protected]  
help / color / mirror / Atom feed
Control Files Missing from postgis2_92 Installation on CentOS 5 x86_64
2+ messages / 2 participants
[nested] [flat]

* Control Files Missing from postgis2_92 Installation on CentOS 5 x86_64
@ 2015-07-30 21:55  Jeff Misener <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Jeff Misener @ 2015-07-30 21:55 UTC (permalink / raw)
  To: pgsql-pkg-yum

Hello,

I'm trying to enable the postgis extension on an installation of postgis2_92 from pgdg-92-centos.repo, but it seems that postgis.control is missing:

[postgres@webapp01 ~]$ psql twist
psql (9.2.13)
Type "help" for help.

twist=# CREATE EXTENSION postgis;
ERROR:  could not open extension control file "/usr/pgsql-9.2/share/extension/postgis.control": No such file or directory

Here's a listing of the extension directory:

[root@webapp01 ~]# ls -l /usr/pgsql-9.2/share/extension/
total 12
-rw-r--r-- 1 root root 332 Jun 11 09:13 plpgsql--1.0.sql
-rw-r--r-- 1 root root 179 Jun 11 09:13 plpgsql.control
-rw-r--r-- 1 root root 381 Jun 11 09:13 plpgsql--unpackaged--1.0.sql

Here are the packages I have installed:

[root@webapp01 ~]# yum list postg*
[...]
Installed Packages
postgis2_92.x86_64                                                                         2.0.6-2.rhel5                                                                installed
postgis2_92-client.x86_64                                                                  2.0.6-2.rhel5                                                                installed
postgis2_92-debuginfo.x86_64                                                               2.0.6-2.rhel5                                                                installed
postgis2_92-devel.x86_64                                                                   2.0.6-2.rhel5                                                                installed
postgis2_92-docs.x86_64                                                                    2.0.6-2.rhel5                                                                installed
postgis2_92-utils.x86_64                                                                   2.0.6-2.rhel5                                                                installed
postgresql92.x86_64                                                                        9.2.13-1PGDG.rhel5                                                           installed
postgresql92-devel.x86_64                                                                  9.2.13-1PGDG.rhel5                                                           installed
postgresql92-libs.x86_64                                                                   9.2.13-1PGDG.rhel5                                                           installed
postgresql92-server.x86_64                                                                 9.2.13-1PGDG.rhel5                                                           installed
postgresqlclient81.x86_64                                                                  8.1.17-1.el5.centos                                                          installed

I have postgresqlclient81.x86_64 installed to support some existing applications. Could that be causing a problem? Any help you could provide would be much appreciated.

Thanks,
Jeff


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

* Re: Control Files Missing from postgis2_92 Installation on CentOS 5 x86_64
@ 2015-08-26 10:21  Devrim GÜNDÜZ <[email protected]>
  parent: Jeff Misener <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Devrim GÜNDÜZ @ 2015-08-26 10:21 UTC (permalink / raw)
  To: Jeff Misener <[email protected]>; pgsql-pkg-yum


Hi,

The gdal version in RHEL 5 is insufficient for raster support, and
raster support is required for creating the extension. I think the only
solution is using a recent RHEL version.

Regards, Devrim

On Thu, 2015-07-30 at 18:55 -0300, Jeff Misener wrote:
> Hello,
> 
> I'm trying to enable the postgis extension on an installation of
> postgis2_92 from pgdg-92-centos.repo, but it seems that
> postgis.control is missing:
> 
> [postgres@webapp01 ~]$ psql twist
> psql (9.2.13)
> Type "help" for help.
> 
> twist=# CREATE EXTENSION postgis;
> ERROR:  could not open extension control file "/usr/pgsql
> -9.2/share/extension/postgis.control": No such file or directory
> 
> Here's a listing of the extension directory:
> 
> [root@webapp01 ~]# ls -l /usr/pgsql-9.2/share/extension/
> total 12
> -rw-r--r-- 1 root root 332 Jun 11 09:13 plpgsql--1.0.sql
> -rw-r--r-- 1 root root 179 Jun 11 09:13 plpgsql.control
> -rw-r--r-- 1 root root 381 Jun 11 09:13 plpgsql--unpackaged--1.0.sql
> 
> Here are the packages I have installed:
> 
> [root@webapp01 ~]# yum list postg*
> [...]
> Installed Packages
> postgis2_92.x86_64                                                   
>                       2.0.6-2.rhel5                                  
>                               installed
> postgis2_92-client.x86_64                                            
>                       2.0.6-2.rhel5                                  
>                               installed
> postgis2_92-debuginfo.x86_64                                         
>                       2.0.6-2.rhel5                                  
>                               installed
> postgis2_92-devel.x86_64                                             
>                       2.0.6-2.rhel5                                  
>                               installed
> postgis2_92-docs.x86_64                                              
>                       2.0.6-2.rhel5                                  
>                               installed
> postgis2_92-utils.x86_64                                             
>                       2.0.6-2.rhel5                                  
>                               installed
> postgresql92.x86_64                                                  
>                       9.2.13-1PGDG.rhel5                             
>                               installed
> postgresql92-devel.x86_64                                            
>                       9.2.13-1PGDG.rhel5                             
>                               installed
> postgresql92-libs.x86_64                                             
>                       9.2.13-1PGDG.rhel5                             
>                               installed
> postgresql92-server.x86_64                                           
>                       9.2.13-1PGDG.rhel5                             
>                               installed
> postgresqlclient81.x86_64                                            
>                       8.1.17-1.el5.centos                            
>                               installed
> 
> I have postgresqlclient81.x86_64 installed to support some existing
> applications. Could that be causing a problem? Any help you could
> provide would be much appreciated.
> 
> Thanks,
> Jeff

-- 
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR





-- 
Sent via pgsql-pkg-yum mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-pkg-yum




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


end of thread, other threads:[~2015-08-26 10:21 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-07-30 21:55 Control Files Missing from postgis2_92 Installation on CentOS 5 x86_64 Jeff Misener <[email protected]>
2015-08-26 10:21 ` Devrim GÜNDÜZ <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox