Sounds like you are missing EPEL repo.

You can try:

 

yum -y install epel-release

 

(not sure if that works for RHEL 6 or if you have to get the report)

 

Hopefully these directions I wrote up a while ago will help.  I tested on 
CentOS but should be much the same for RHEL as well.

 

http://www.postgresonline.com/journal/archives/362-An-almost-idiots-guide-to-install-PostgreSQL-9.5,-PostGIS-2.2-and-pgRouting-2.1.0-with-Yum.html

 

(Also since you are running 9.4 instead of 9.5, you have to just revise your 
yum to account for that, most of the rest should be the same though)

 

Hope that helps,

Regina

http://www.postgis.us

http://postgis.net

 

 

 

 

From: postgis-users [mailto:[email protected]] On Behalf Of 
Andrew Davis
Sent: Wednesday, July 27, 2016 3:05 PM
To: PostGIS Users Discussion <[email protected]>
Subject: [postgis-users] RHEL 6 PostGIS 9.4 cannot install

 

Hello, 

I have an instance of RHEL 6 with postGRESQL  9.4.8 running.  I am able to 
login and create databases (command line and through pgAdmin3).  

Now i am trying to install postGIS..

My results for 'yum list postgis*' show available rpms..

postgis2_94.x86_64
postgis2_94-client.x86_64
postgis2_94-debuginfo.x86_64
postgis2_94-devel.x86_64
postgis2_94-docs.x86_64
postgis2_94-utils.x86_64

When I run the command "yum install postgis2_94' I get a lot of errors for 
missing dependencies.

Package: postgis2_94-2.1.8-1.rhel6.x86_64 (pgdg94) Requires: hdf5...

There are multiple others as well..

I am more than likely missing something simple, but unable to figure this out...

Have I missed something?.. Any advice is welcome..

Andy.

_______________________________________________
postgis-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/postgis-users

Reply via email to