title: Git > dyld: lazy symbol binding failed: Symbol not found: _iconv_open
body: <p>I don't know what happened but suddenly all my git commands won't work no more, this is the error message I get.</p>
  
  <pre><code>$ git show
  dyld: lazy symbol binding failed: Symbol not found: _iconv_open
     Referenced from: /usr/local/bin/git
     Expected in: /Applications/MAMP/Library/lib//libiconv.2.dylib
  
  dyld: Symbol not found: _iconv_open
     Referenced from: /usr/local/bin/git
     Expected in: /Applications/MAMP/Library/lib//libiconv.2.dylib
  </code></pre>
  
  <p>Any help is appreciated, thanks!</p>
  
  <p><strong>Additional info:</strong>
  When I check the libiconv.2.dylib file it gives me this output:</p>
  
  <pre><code>$ file /usr/lib/libiconv.2.dylib 
  /usr/lib/libiconv.2.dylib: Mach-O universal binary with 2 architectures
  /usr/lib/libiconv.2.dylib (for architecture i386):  Mach-O dynamically linked shared       library i386   
  /usr/lib/libiconv.2.dylib (for architecture x86_64):    Mach-O 64-bit dynamically linked shared library x86_64
  </code></pre>
  
  <p>Which I understand should be 3 architectures, How would I add the third one?</p>
  
  <p><strong>EDIT:</strong>
  these are the links inside <code>/Applications/MAMP/Library/lib/</code></p>
  
  <pre><code>-rwxrwxr-x   1 mm  admin     1194 Jan 22 10:52 libgettextsrc.la
  -rwxrwxr-x   1 nm  admin  2241972 Jan 22 11:00 libiconv.2.dylib
  lrwxr-xr-x   1 nm  admin       16 Mar  1 10:06 libiconv.dylib -&gt; libiconv.2.dylib
  </code></pre>