[IPython-user] Can somebody help me with readline support?

Nathan frizop at yahoo.com
Thu Aug 24 09:53:59 CDT 2006

So when trying to follow the instructions listed in the site you linked, I got the following error:

/usr/bin/ld: warning Python.framework/Versions/2.4/Python cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded)
/usr/bin/ld: Undefined symbols:
collect2: ld returned 1 exit status
make: *** [python.exe] Error 1

It would appear that intel arch is not supported on OS X? I'm going to research the python forums/lists whatever and see how they fix it. In the mean time, I'll check out Darrens response and see if I can figure out what he has done.


----- Original Message ----
From: Steve Lianoglou <lists.steve at arachnedesign.net>
To: Nathan <frizop at yahoo.com>
Cc: ipython-user at scipy.org
Sent: Thursday, August 24, 2006 9:11:17 AM
Subject: Re: [IPython-user] Can somebody help me with readline support?

Hi Nathan,

On Aug 24, 2006, at 9:50 AM, Nathan wrote:

> Alright, so I've been googling for an hour now trying to figure out  
> how to get this done, but I can't for whatever reason get python  
> 2.4 to use the readline library I've installed. Can somebody help  
> me with this?

I'm not sure how much help this is, because I actually don't know the  
answer :-)

I remember going through this a while ago, but don't remember how I  
did it.

That said, it looks as if you're running on OS X since I see the  
pythonw bin in there, is that true?

I like this tutorial for getting a python environment up:

If you're not on OS X, the instructions there still seem pretty  
generic enough (except for the mac binaries, that is), so it may  
still help you.

It includes a part about installing readline properly, but there  
doesn't seem to require any non-obvious step, so I'm not sure what  
you might be missing.

Also .. I've found that darwinports has done a bang-up job for me,  
and I'm using their python compilation + readline, though most of my  
python packages are self-compiled from svn checkouts.

Hope that helps,
IPython-user mailing list
IPython-user at scipy.org

More information about the IPython-user mailing list