<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">… and this works just fine. &nbsp;\o/<div><br></div><div>At least cabal now installs/builds the llvm 3.0.1.0 package successfully. &nbsp;So, normality has been restored… any remaining problems are therefore my own :-)</div><div><br></div><div>That last reference has to be changed with the install_name_tool -id option (rather than -change) as indeed the first entry in the self-identification, rather than the paths of dependent libraries.</div><div><br></div><div>-- Luke</div><div><br></div><div>P.S. It would be great if the HP could have more frequent patches for critical issues like this. &nbsp;I've no problem with 6 monthly 'feature release' updates, but there are bound to be big defects for which a 6 month cycle is a very long time. &nbsp;Another similar one is that I found that yesod's development server doesn't run on 7.4.2 due to a bug (allegedly long since fixed).</div><div><br></div><div><br><div><div>On 2013-04-08, at 10:08 AM, Luke Evans &lt;<a href="mailto:luke@eversosoft.com">luke@eversosoft.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">OK, thanks again. &nbsp; I'll give that a whirl.<div><br><div><div>On 2013-04-08, at 7:48 AM, Brandon Allbery &lt;<a href="mailto:allbery.b@gmail.com">allbery.b@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><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&nbsp;</div><div>is pointing to the dodgy library too, e.g.:</div>
<div><br></div><div>&gt; otool -L&nbsp;/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'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 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div>
<div>unix, openafs, kerberos, infrastructure, xmonad &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://sinenomine.net/" target="_blank">http://sinenomine.net</a></div></div>
</div>
</blockquote></div><br></div></div></blockquote></div><br></div></body></html>