In article <[EMAIL PROTECTED]>, James Stroud <[EMAIL PROTECTED]> wrote:
> Ron Garret wrote: > > I have installed Python 2.5 on my new Intel Mac but I can't for the life > > of me get readline to work. I have libreadline installed, I've tried > > copying readline.so from my Python 2.3 installation into 2.5, I've > > searched the web, and no joy. Could someone please give me a clue? > > > > rg > > Where have you installed libreadline? /usr/local/lib > Is LD_LIBRARY_PATH pointing to the directory libreadline.dylib? It wasn't, but changing it so it did didn't fix the problem. (I didn't try recompiling Python, just running it. I'll try rebuilding later.) > Did you install libreadline with fink? No, I just got the source from the FSF and did ./configure ; make install > Bash (OSX default) and similar shells use this silly 2 part syntax: > > LD_LIBRARY_PATH=/sw/lib > export LD_LIBRARY_PATH Actually you can do it in one line: export LD_LIBRARY_PATH=whatever :-) > Do a "locate libreadline.dylib" and set the LD_LIBRARY_PATH to the > containing directory and then > > make clean > ./configure > make > make install > > or similar. I'll give that a whirl. Thanks. rg -- http://mail.python.org/mailman/listinfo/python-list