On Monday, November 19, 2007, at 10:05AM, "sparklight" <[EMAIL PROTECTED]> wrote: > > >Lyndsey - I see your resolution to the -framework Carbon problem, I >discovered that also. But I'm still groping for the solution to the >"Inappropriate file type for dynamic loading" problem. My linker (gcc >running under the Eclipse IDE) produces a .dylib by default, not a .so, and >if I simply rename the file, I get the same traceback you got. Clearly >.dylib is an Apple dynamic library format, and MacPython 2.4 is not prepared >to recognize it. How did you resolve this? Did going to Python 2.5 >suffice?
Python extensions are bundles (created with 'cc -bundle'), not shared libraries (created with 'cc -shared'). BTW. Why not use distutils to build extensions, that will automaticly do the right thing on all platforms. Ronald _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig