I am currently building a PyObjC application for Snow Leopard, and I have successfully compiled a standalone application. My question is: how to make the assembly compatible with Leopard, given these errors?
dyld: lazy symbol binding failed: Symbol not found: _fopen$UNIX2003 Referenced from: /Applications/MyApp.app/Contents/MacOS/MyApp Expected in: /usr/lib/libSystem.B.dylib dyld: Symbol not found: _fopen$UNIX2003 Referenced from: /Applications/MyApp.app/Contents/MacOS/MyApp Expected in: /usr/lib/libSystem.B.dylib
This is an application written using Snow Leopard py2app. Also, when I compile on Leopard, on the other hand, this error occurs:
Traceback (most recent call last): File "/Users/jofell/client/dist/MyApp.app/Contents/Resources/__boot__.py", line 31, in <module> _run('main.py') File "/Users/jofell/client/dist/MyApp.app/Contents/Resources/__boot__.py", line 28, in _run execfile(path, globals(), globals()) File "/Users/jofell/client/dist/MyApp.app/Contents/Resources/main.py", line 17, in <module> from AppKit import * File "AppKit/__init__.pyc", line 10, in <module> File "Foundation/__init__.pyc", line 10, in <module> File "CoreFoundation/__init__.pyc", line 17, in <module> File "objc/_bridgesupport.pyc", line 129, in initFrameworkWrapper File "objc/_bridgesupport.pyc", line 53, in _parseBridgeSupport ValueError: Unknown typestr 2009-08-29 19:30:14.530 MyApp[445:903] MyApp Error 2009-08-29 19:30:14.534 MyApp[445:903] MyApp Error An unexpected error has occurred during execution of the main script
Any help would be greatly appreciated. Thanks in advance.
python osx-leopard osx-snow-leopard py2app
jopes
source share