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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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@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.dray@xxxxxxxxxxxxxxxxx

W: 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. 
-------------------------------------------------------------------------------------------------------------------


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux