<div class="gmail_quote">On 17 September 2012 18:13, Paul Wiseman <span dir="ltr"><<a href="mailto:poalman@gmail.com" target="_blank">poalman@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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<div><br></div><div><font face="courier new, monospace">Traceback (most recent call last):</font></div>

<div><font face="courier new, monospace">  <some traceback></font></div><div><font face="courier new, monospace">ImportError: dlopen(/Applications/TestApp.app/Contents/Resources/lib/python2.7/lib-dynload/_librsync.so, 2): Library not loaded: @executable_path/../Frameworks/librsync.1.dylib</font></div>

<div><font face="courier new, monospace">  Referenced from: /Applications/TestApp.app/Contents/Resources/lib/python2.7/lib-dynload/_librsync.so</font></div><div><font face="courier new, monospace">  Reason: no suitable image found.  Did find:</font></div>

<div><font face="courier new, monospace">    /Applications/TestApp.app/Contents/MacOS/../Frameworks/librsync.1.dylib: unknown required load command 0x80000022</font></div><div><font face="courier new, monospace">    /Applications/TestApp.app/Contents/MacOS/../Frameworks/librsync.1.dylib: unknown required load command 0x80000022</font></div>

<div><font face="courier new, monospace">TestApp Error</font></div><div><font face="courier new, monospace">([0x0-0x1e01e].org.pythonmac.unspecified.TestApp[342]) Exited abnormally: Bus error</font></div><div><font face="courier new, monospace"><br>

</font></div><div><span style="font-family:arial,helvetica,sans-serif">I searched around and found this, </span><a href="http://www.riverbankcomputing.com/pipermail/pyqt/2009-November/025098.html" style="font-family:arial,helvetica,sans-serif" target="_blank">http://www.riverbankcomputing.com/pipermail/pyqt/2009-November/025098.html</a><span style="font-family:arial,helvetica,sans-serif"> although I think it might be specific to compiling pyqt and this solution </span><a href="http://www.riverbankcomputing.com/pipermail/pyqt/2011-June/029975.html" style="font-family:arial,helvetica,sans-serif" target="_blank">http://www.riverbankcomputing.com/pipermail/pyqt/2011-June/029975.html</a><span style="font-family:arial,helvetica,sans-serif"> but not really sure if it applies to my case or not.</span></div>

<div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">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?</font></div>

</blockquote></div><br><div><br></div><div>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?</div><div>
<br></div><div>I've tried building again with -isysroot /Xcode3/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 CFLAGS but doesn't seem to help</div>