Oddity with Python25 and Xcode 2.5

Nathan Brazil nb at saltybanana.com
Sun Nov 25 03:21:14 PST 2007


Problem solved after I sudo'd the following:

1. port selfupdate
2. port clean --all python25
3. port install python25

--

On Nov 25, 2007, at 2:39 AM, Nathan Brazil wrote:

> I have the same problem.  However, performing a "port selfupdate"  
> did not resolve it for me.
>
> --
>
> On Nov 24, 2007, at 5:24 PM, Ryan Schmidt wrote:
>
>>
>> On Nov 24, 2007, at 19:10, John Wilder wrote:
>>
>>> I was having a problem with installing python25 (2.5.1_3) where it  
>>> would error on executing libtool with the diagnostic:
>>>
>>> ld: for architecture ppc
>>> ld: warning prebinding disabled because of undefined symbols
>>> ld: Undefined symbols:
>>> restFP
>>> saveFP
>>> libtool: internal link edit command failed
>>> make: *** [libpython2.5.dylib] Error 1
>>
>> Right:
>>
>> http://trac.macports.org/projects/macports/ticket/13322
>>
>> That ticket has been fixed though so a "sudo port selfupdate"  
>> should allow you to install python25 without problem.
>>
>>> I recently upgraded to 10.4.11/Xcode 2.5/gcc4.0.1 from 10.3.9/ 
>>> gcc3.3 on a g4.  Previously I had been able to install python25  
>>> successfully on 10.3.9 and was upgrading to the latest version.
>>>
>>> I found that I could overcome this two ways:
>>>
>>> 1. modifiying patch-Makefile.pre.in to have -L/usr/lib/gcc/powerpc- 
>>> apple-darwin8/4.0.1/ -llibgcc
>>> [+		-current_version $(VERSION) -lSystem -lSystemStubs -L/usr/lib/ 
>>> gcc/powerpc-apple-darwin8/4.0.1/ -llibgcc $(LDFLAGS)]..
>>>
>>> 2. adding a soft link in /usr/lib to /usr/lib/gcc/powerpc-apple- 
>>> darwin8/4.0.1/libgcc.a (ln -s /usr/lib/gcc/powerpc-apple- 
>>> darwin8/4.0.1/libgcc.a libgcc4.a) and then modifying patch- 
>>> Makefile.pre.in to have -lgcc4
>>> [+		-current_version $(VERSION) -lSystem -lSystemStubs -lgcc4 $ 
>>> (LDFLAGS)].
>>>
>>> Since I don't have an intel Mac, I can only assume that linking  
>>> to /usr/lib/gcc/i686-apple-darwin8/4.0.1/libgcc.a may help there.
>>
>>
>>
>> _______________________________________________
>> macports-users mailing list
>> macports-users at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo/macports-users
>>
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-users
>



More information about the macports-users mailing list