On Friday, April 13, 2007, at 09:17AM, "David Worrall" <[EMAIL PROTECTED]> wrote: >Hello all, >OSX 2.4.9: >A (largish) Xcode project compiled to a .so with the /System/Library >python framework. >The .so is produced and imports into python (2.3.4) > >When the whole process is repeated, replacing python 2.3.4 with 2.4.3 >I get an >>> ImportError: Inappropriate file type for dynamic loading > >can anyone shed any light on this for me please? >(or just tell me what's gotta change :-)
What kind of object is the .so file you're building? You should build a bundle, not a dylib. That is file(1) should say "Mach-O bundle", not "Mach-O dynamically linked shared library". Ronald _______________________________________________ Pythonmac-SIG maillist - [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/pythonmac-sig