python26 error... seeking help

Bernard Desgraupes bdesgraupes at orange.fr
Mon Sep 7 04:16:48 PDT 2009


Le 7 sept. 09 à 07:55, Joshua Root a écrit :

>
> On 2009-9-7 14:02, Artie Ziff wrote:
>> Any ideas what went wrong here with python26?
>> Building on Mac OS 10.5.8
>
>> ld warning: in Python.framework/Versions/2.6/Python, file is not of
>> required architecture
>> Undefined symbols:
>>  "_Py_Main", referenced from:
>>      _main in python.o
>>  "_PyMac_Error", referenced from:
>> ld: symbol(s) not found
>
> It appears that the upstream patch we added to fix 64-bit issues
> introduced the equivalent problem on 32-bit. A fix has been checked in
> and should be available through rsync within 30 minutes.
>
> -

I had got the same error message yesterday while building Python as a  
dep of mercurial.
I confirm the patch fixes the bug for me.
Thanks.

Bernard



More information about the macports-users mailing list