On 17 September 2012 18:13, Paul Wiseman <poal...@gmail.com> wrote: > 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.htmlbut 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? >
Just did file on the librsync.1.dylib and it only supports i386 which I guess is the problem. Any idea why this wouldn't have been built with ppc like the so was? I've tried building again with -isysroot /Xcode3/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 CFLAGS but doesn't seem to help
_______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG