Greetings,<br><br>I am trying to build the application Mnemosyne (<a href="http://www.mnemosyne-proj.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">www.mnemosyne-proj.org</a>) using py2app on 10.5.2. With the command python setup.py py2app, the application compiles, but when I try to run it I receive the following error:<br>
<br>08/03/16 23:49:08 mnemosyne[1574] mnemosyne Error<br>
An unexpected error has occurred during execution of the main script<br>ImportError: Failure linking new module: /Users/patrick/Desktop/mnemosyn<div id="mb_0">e-1.0.1/dist/mnemosyne.app/Contents/Resources/lib/python2.4/lib-dynload/qt.so: Library not loaded: libqt.3.dylib<br>
Referenced from: /Users/patrick/Desktop/mnemosyne-1.0.1/dist/mnemosyne.app/Contents/Resources/lib/python2.4/lib-dynload/qt.so<br> Reason: image not found<br> <br>I tried to include the QT library myself, using the -f /Developer/qt/lib/libqt.3.dylib flag, and I got this error:<br>
copying build/bdist.macosx-10.3-fat/python2.4-standalone/app/site-packages.zip -> /Users/patrick/Desktop/mnemosyne-1.0.1/dist/mnemosyne.app/Contents/Resources/lib/python2.4<br>copying /Library/Frameworks/Python.framework/Versions/2.4/Python -> /Users/patrick/Desktop/mnemosyne-1.0.1/dist/mnemosyne.app/Contents/Frameworks/Python.framework/Versions/2.4<br>
copying /Library/Frameworks/Python.framework/Versions/2.4/Resources/Info.plist -> /Users/patrick/Desktop/mnemosyne-1.0.1/dist/mnemosyne.app/Contents/Frameworks/Python.framework/Versions/2.4/Resources<br>copying /Library/Frameworks/Python.framework/Versions/2.4/Resources/version.plist -> /Users/patrick/Desktop/mnemosyne-1.0.1/dist/mnemosyne.app/Contents/Frameworks/Python.framework/Versions/2.4/Resources<br>
copying /Developer/qt/lib/libqt.3.dylib -> /Users/patrick/Desktop/mnemosyne-1.0.1/dist/mnemosyne.app/Contents/Frameworks<br>Traceback (most recent call last):<br> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/py2app-0.3.6-py2.4.egg/py2app/build_app.py", line 548, in _run<br>
self.run_normal()<br> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/py2app-0.3.6-py2.4.egg/py2app/build_app.py", line 619, in run_normal<br> self.create_binaries(py_files, pkgdirs, extensions, loader_files)<br>
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/py2app-0.3.6-py2.4.egg/py2app/build_app.py", line 731, in create_binaries<br> mm.mm.run_file(fmwk)<br> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/macholib-1.1-py2.4.egg/macholib/MachOGraph.py", line 66, in run_file<br>
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/macholib-1.1-py2.4.egg/macholib/MachOStandalone.py", line 23, in createNode<br> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/altgraph-0.6.7-py2.4.egg/altgraph/ObjectGraph.py", line 148, in createNode<br>
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/macholib-1.1-py2.4.egg/macholib/MachO.py", line 61, in __init__<br> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/macholib-1.1-py2.4.egg/macholib/MachO.py", line 76, in load<br>
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/macholib-1.1-py2.4.egg/macholib/MachO.py", line 106, in load_header<br> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/macholib-1.1-py2.4.egg/macholib/MachO.py", line 146, in __init__<br>
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/macholib-1.1-py2.4.egg/macholib/MachO.py", line 178, in load<br>ValueError: Unknown load command: 30<br>> /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/macholib-1.1-py2.4.egg/macholib/MachO.py(178)load()<br>
</div><br>How can I include the qt3 library so that the app can read it?<br><br>Thanks in advance.<br><br><br>Regards,<br>--Patrick<br>