[Ilugc] Installing readline library to python.
siva.devel at gmail.com
Fri Aug 17 10:28:41 IST 2007
I was trying to install readline library to python. The python that
comes with the distros(debian, RHEL) has the readline library(one
which provides the history of command typed), by default. I wanted to
install the latest python in my system and
when I installed it, it did not have the readline library by default.
So, I downloade the readline library, compiled and installed. The
shared file readline.so, which should have been copied to the python
path did not get copied.
So, I copied that library to /usr/lib/python2.4/lib-dynload/
When I gave a "import readline", it through an error like this,
ImportError: /usr/lib/python2.4/lib-dynload/readline.so: only ET_DYN
and ET_EXEC can be loaded.
Did I do something wrong here? Can someone help out?
More information about the ilugc