[Pythonmac-SIG] Loading modules on MacOS
Jure Menart
jurem at si.insilica.com
Wed Nov 2 08:28:37 CET 2005
To answer myself:
My compilation/linking and everything was OK, it was MacOS system
problem. Here is link to the answer:
http://lists.apple.com/archives/darwin-development/2002/Dec/msg00179.html
Thanks for suggestions,
Regards, Jure Menart
Jure Menart wrote:
> Hi,
>
> Ronald Oussoren wrote:
>
>> Why not build libcore_module1.dylib as one would normally do (and I
>> haven't done that yet, so can't help you there, -dynamiclib seems to
>> be the right way). Then use distutils to build the extensions, that
>> way the exentions get build how they should be.
>
>
> well, I'd like to use existing Makefiles because many python scripts are
> called during compilation (it is huge Makefile/Python compilation sistem
> :)) - I was already thinking about moving compilation to distutils - but
> there'd be too much things to rewrite, so I'm using distutils only for
> installation.
> I'll look into this option, when everything else fails. :/
>
> For now I will investigate if .dylib is generated correctly - if there
> are any 'features' with dlcompat wrapper that I'm not familiar with.
>
>> What do you mean by 'hangs'? I suppose your script stops executing
>> when it hits the import statement, but the quotes make me curious.
>>
>
> You're correct - by 'hangs' I meant, that Python freezes, when import is
> called.
>
> Regards, Jure
>
More information about the Pythonmac-SIG
mailing list