<div dir="ltr">On Mon, Apr 8, 2013 at 1:32 AM, Luke Evans <span dir="ltr">&lt;<a href="mailto:luke@eversosoft.com" target="_blank">luke@eversosoft.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div>Unfortunately, it looks like</div><div>/Library/Frameworks/GHC.framework/Versions/7.4.2-x86_64/usr/lib/ghc-7.4.2/libffi.dylib </div><div>is pointing to the dodgy library too, e.g.:</div>
<div><br></div><div>&gt; otool -L /Library/Frameworks/GHC.framework/Versions/7.4.2-x86_64/usr/lib/ghc-7.4.2/libffi.dylib</div><div><div>/Users/ian/zz64/ghc-7.4.2/libffi/build/inst/lib/libffi.5.dylib (compatibility version 6.0.0, current version 6.10.0)</div>
<div>/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)</div></div><div><br></div><div>Not sure what to patch the first reference in that one to.</div></div></blockquote><div><br></div><div>
To itself; that&#39;s actually the internal reference that gets compiled into the others, and as such is the actual source of the problem. (In an ELF shared object, that would be the soname. Note that it *must* be a full path on OS X, unlike Linux/ELF.)</div>
<div><br></div></div>-- <br><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div>
<div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div>
</div>