MAMP and Drupal Version Control API
I recently installed the Version Control API Drupal module to give it a test run. Unfortunately it did not work right out of the box. I was getting the following error when trying to refresh my svn logs through my sandbox Drupal site running in MAMP:
dyld: lazy symbol binding failed: Symbol not found: _iconv_open
Referenced from: /usr/lib/libaprutil-1.0.dylib
Expected in: /Applications/MAMP/Library/lib/libiconv.2.dylib
dyld: Symbol not found: _iconv_open
Referenced from: /usr/lib/libaprutil-1.0.dylib
Expected in: /Applications/MAMP/Library/lib/libiconv.2.dylib
After some googling for a while, it became apparent that the svn binaries that are installed by XCode Tools just needed to be updated.
Downloading a newer version of subversion ended fixing the error. The new subversion binaries are installed to the following directory:
/opt/subversion/
After installing the new binaries, all you need to do is make sure that the svn executable that MAMP is trying to use is the new one. Just setup a symlink from your current svn binary to the new svn binary and you should be good to go:
ln -nsf /opt/subversion/bin/svn /usr/bin/svn
Once that is done check the version of svn to make sure that you're running the new version:
svn --version
With the new subversion binaries that should clear up the "dyld: Symbol not found: _iconv_open" errors. Good Luck!