I'm attempting to install GNU readline on a CentOS 5 so that I can use it with some Python 2.7 modules, specifically the Cmd module.
I've installed Python2.7 as a standalone library per these instructions to no avail. As I understand it, upgrading the Python that comes shipped with the AWS CentOS image breaks several shared libraries including yum, so it's being compiled and installed separately, however even after going through this process I'm still receiving:
ImportError: No module named readline
cat /etc/ld.so.conf.d/opt-python2.7.confgives/opt/python2.7/lib– jpredham Mar 9 '12 at 19:00