Skip site navigation (1) Skip section navigation (2)

Postgresql-contrib on RHEL6 x64 -- libpython2.4 dependency

From: Adam Dray <Adam(dot)Dray(at)dunbararmored(dot)com>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Postgresql-contrib on RHEL6 x64 -- libpython2.4 dependency
Date: 2011-10-25 18:01:50
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin

I'm by no means a linux administration expert, but I can get around a little bit. I'm installing postgresql on RHEL6.1 (x86_64).
I did a yum install of the 9.0.2 postgresql-server and postgresql-devel packages. No problem, that's all working.

When I try to yum install postgresql-contrib, I get a dependency error:

[root(at)magftm2 pg_archivecleanup]# yum install postgresql-contrib
Loaded plugins: product-id, refresh-packagekit, rhnplugin, subscription-manager
Updating Red Hat repositories.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package postgresql-contrib.x86_64 0:9.0.0-1PGDG.el5 will be installed
--> Processing Dependency: for package: postgresql-contrib-9.0.0-1PGDG.el5.x86_64
--> Finished Dependency Resolution
Error: Package: postgresql-contrib-9.0.0-1PGDG.el5.x86_64 (pgdg90)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

[root(at)magftm2 pg_archivecleanup]# ls -l /usr/lib64/libpyth*
lrwxrwxrwx. 1 root root      19 Sep 14 03:04 /usr/lib64/ ->
-r-xr-xr-x. 1 root root 1753952 Apr 11  2011 /usr/lib64/

So it appears I have python 2.6 installed, but postgresql-contrib wants python 2.4.  Can someone give me some pointers for resolving this?

I've scoured the 'net for a solution to this, to no avail. For the meantime, I have worked around the problem by manually building (with gcc) the pg_archivecleanup tool I need, but I'd prefer to have a general solution with yum.

Adam Dray
Senior Java Developer, Cash Vault Services
Dunbar Armored, Inc.
50 Schilling Road
Hunt Valley, MD 21031
P: (410) 229-1889
C: (443) 226-7883
E: adam(dot)dray(at)dunbararmored(dot)com<mailto:adam(dot)dray(at)dunbararmored(dot)com>

The information contained in this email may be confidential and/or legally privileged. It has been sent
 for the sole use of the intended recipient(s). If the reader of this message is not an intended recipient, 
you are hereby notified that any unauthorized review, use, disclosure, dissemination, distribution, or 
copying of this communication, or any of its contents, is strictly prohibited. If you have received this 
communication in error, please contact the sender by reply email and destroy all copies of the original 


pgsql-admin by date

Next:From: Devrim GÜNDÜZDate: 2011-10-25 18:57:46
Subject: Re: Postgresql-contrib on RHEL6 x64 -- libpython2.4 dependency
Previous:From: Krishnamurthy RadhakrishnanDate: 2011-10-25 16:32:05
Subject: Re: Dumping data using pg_dump after chrooting to a different partition

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group