[Pythonmac-SIG] ImportError, no suitable image found (app not running under 10.5)

Paul Wiseman poalman at gmail.com
Mon Sep 17 19:13:34 CEST 2012


This app runs fine on 10.6 and 10.7, but when I run it on 10.5 I an apple
error report, and the following error in console

Traceback (most recent call last):
  <some traceback>
ImportError:
dlopen(/Applications/TestApp.app/Contents/Resources/lib/python2.7/lib-dynload/_librsync.so,
2): Library not loaded: @executable_path/../Frameworks/librsync.1.dylib
  Referenced from:
/Applications/TestApp.app/Contents/Resources/lib/python2.7/lib-dynload/_librsync.so
  Reason: no suitable image found.  Did find:

/Applications/TestApp.app/Contents/MacOS/../Frameworks/librsync.1.dylib:
unknown required load command 0x80000022

/Applications/TestApp.app/Contents/MacOS/../Frameworks/librsync.1.dylib:
unknown required load command 0x80000022
TestApp Error
([0x0-0x1e01e].org.pythonmac.unspecified.TestApp[342]) Exited abnormally:
Bus error

I searched around and found this,
http://www.riverbankcomputing.com/pipermail/pyqt/2009-November/025098.htmlalthough
I think it might be specific to compiling pyqt and this solution
http://www.riverbankcomputing.com/pipermail/pyqt/2011-June/029975.html but
not really sure if it applies to my case or not.

I have both Xcode 3 and 4 installed and I have the 10.5 SDK, I'm just not
sure about how I can compile the extensions I need to use it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20120917/f746bc64/attachment.html>


More information about the Pythonmac-SIG mailing list