[Pythonmac-SIG] libpython2.4.a missing in binary distribution

Ronald Oussoren ronaldoussoren at mac.com
Sat Jul 29 08:43:07 CEST 2006


On Jul 28, 2006, at 11:51 PM, Bob Ippolito wrote:

>
> On Jul 26, 2006, at 10:00 AM, Martin Frank wrote:
>
>> I downloaded the binary distribution for Mac OS X 10.4 from
>>
>> http://www.python.org/download/mac/
>>
>> but I am missing the libpython2.4.a file in
>>
>>
>> /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/ 
>> config
>>
>>
>> How can I get or create it in a simple way?
>
> No, and it's not supposed to be there. A framework build of Python
> must be dynamically linked.
The linker doesn't actually care if libpython.a is a static library.
$ cd /Library/ ... /config
$ ln -s ../../../Python libpython.a


> A better question is why do you want a
> static library?

I want to know this to. I know of one piece of software that requires  
this: mod_python 1.x. Because of this and because config-python (new  
in 2.5) also assumes that a libython.{a,dylib} is present the 2.5  
installer will create the above mentioned link for you. This is lame,  
but I don't have time to fix the world, let alone try to get the  
patches in.

Ronald



More information about the Pythonmac-SIG mailing list