title: dylib: image not found, but the path looks correct
body: <p>On one computer, an OS X launchd daemon is crashing when it fails to load the MailCore framework.  However, the framework is in the expected location, and the daemon is running properly on my computer as well as several others'.  Does anyone know what might be causing the "image not found" error?  Or how to troubleshoot this issue?</p>
  
  <p>The MailCore lib is installed at:</p>
  
  <p><code>/Library/Application Support/ArgusLink/bin/MailCore.framework/Versions/A/MailCore</code></p>
  
  <p>The binary trying to load it is installed at (and run via launchd):</p>
  
  <p><code>/Library/Application Support/ArgusLink/bin/arguslinkd</code></p>
  
  <p>The install name for MailCore is:</p>
  
  <p><code>@loader_path/MailCore.framework/Versions/A/MailCore</code></p>
  
  <p>MailCore is built for i386 architecture.  The computer on which the daemon crashed is running 10.6.8, with which I have tested successfully.</p>
  
  <p>Full crash report:</p>
  
  <pre><code>Process:         arguslinkd [349]
  Path:            /Library/Application Support/ArgusLink/bin/arguslinkd
  Identifier:      arguslinkd
  Version:         ??? (???)
  Code Type:       X86 (Native)
  Parent Process:  launchd [1]
  
  Date/Time:       2011-11-22 08:58:30.117 -0500
  OS Version:      Mac OS X 10.6.8 (10K549)
  Report Version:  6
  
  Exception Type:  EXC_BREAKPOINT (SIGTRAP)
  Exception Codes: 0x0000000000000002, 0x0000000000000000
  Crashed Thread:  0
  
  Dyld Error Message:
    Library not loaded: @loader_path/MailCore.framework/Versions/A/MailCore
    Referenced from: /Library/Application Support/ArgusLink/bin/arguslinkd
    Reason: image not found
  
  Binary Images:
  0x8fe00000 - 0x8fe4162b  dyld 132.1 (???) &lt;A4F6ADCC-6448-37B4-ED6C-ABB2CD06F448&gt;
     /usr/lib/dyld
  </code></pre>