[Pythonmac-SIG] how to build libpython2.4.dylib

ah aryeh at bigfoot.com
Fri Sep 15 16:05:09 CEST 2006


>> On Sep 14, 2006, at 7:22 PM, ah wrote:
>>
>>> Hello all,
>>>
>>> Sorry if this question has been asked before.
>>> How can I build (or get) libpython2.4.dylib instead of  libpython2.4.a ?
>>>
>>> I am running Mac Os X 10.3.9.
>>
>> What version of python are you using? That is, the distribution at 
>> python.org, ActiveState's python, DarwinPorts^H^H^H^H^H^HMacPorts or 
>> Fink?
>>
> Hello Ronald and thanks for your answer.
> I am using a version of MacPython 2.4 that I downloaded a while ago
> on a Mac Mini G4 with Mac Os 10.3.9.
> I noticed that a universal build of MacPython 2.4 is available now.
> (Please advise whether you recommend me to upgrade or not)
>
>
>> If you have a framework install of python (the binary distribution at 
>> python.org or ActiveState's python) the framework contains a shared 
>> library, but it isn't named libpython2.4.a. It is the Python binary  at 
>> the top of the framework, which is where shared libraries should  be in a 
>> framework.
> Can you please be more specific on the directory and the name ?
> I am not too familiar with frameworks in general.
>
>
>>
>> Why do you want to know? Do you have some software that requires a 
>> libpython2.4.dylib? If so, which software is that?
>
> I am using Python with VTK (www.vtk.org), and I am having
> some trouble linking. Here are the first few lines of the error
> messages:
>
> _______________________________________
> Linking CXX shared library ../bin/libvtkCommonPythonD.dylib
> /usr/bin/libtool: internal link edit command failed
> ld: common symbols not allowed with MH_DYLIB output format with 
> the -multi_module option
> /usr/local/lib/python2.4/config/libpython2.4.a(exceptions.o) definition of 
> common _PyExc_TypeError (size 4)
>
> _______________________________________
>
> According to the vtk mailing lists, using libpython2.4.dylib should fix 
> that.
>
> Any recommendation you might have to help me out
> would be greatly appreciated.
>
> P.S. I have tried to use fink's method to create libpython2.4.dylib
> but got similar error messages.
>
> 



More information about the Pythonmac-SIG mailing list