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: 4F52C57256394149A34984F0E0D5CDF504C8D8D1@exchdb03srv.dunbararm.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello,

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: libpython2.4.so.1.0()(64bit) 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)
Requires: libpython2.4.so.1.0()(64bit)
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/libpython2.6.so -> libpython2.6.so.1.0
-r-xr-xr-x. 1 root root 1753952 Apr 11 2011 /usr/lib64/libpython2.6.so.1.0

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>
W: www.dunbararmored.com<http://www.dunbararmored.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
message.
-------------------------------------------------------------------------------------------------------------------

Responses

Browse pgsql-admin by date

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