MAMP Pro on Yosemite Beta 5

Update: The developers of MAMP recommend the following workaround:

Workaround for the 10.10 Preview 5 bug: Rename the file “envvars” located in into “_envvars”

If you’re running MAMP Pro 3 and you installed Yosemite preview 5, you’ve probably noticed Apache won’t start anymore, with the following error:

dyld: Symbol not found: _iconv
Referenced from: /usr/lib/libmecabra.dylib
Expected in: /Applications/MAMP/Library/lib/libiconv.2.dylib
in /usr/lib/libmecabra.dylib

This is some kind of library error because of an updated library in the newest preview. You can fix this by forcing your own version of libiconv onto your computer, though you have to replace the system default version of libiconv, which in theory could cause bad things to happen – i’ve not noticed anything, but your milage will vary – and you should make sure you’ve got a system backup of everything incase the worst does happen.

Hopefully you’ve already got homebrew installed – if not, grab it from and follow those instructions, then:

1) Allow homebrew to install duplicates of system software: brew tap homebrew/dupes
2) Install libiconv: brew install libiconv
3) Force it to link (replace) the system default: brew link libiconv --force
4) Delete the MAMP version of libiconv:
rm /Applications/MAMP/Library/lib/libiconv.2.dylib

Then everything should start properly.

  • jacobgraf

    I am seeing the following error when I run `brew link libiconv –force`

    Linking /usr/local/Cellar/libiconv/1.14…
    Error: Could not symlink include/iconv.h
    /usr/local/include is not writable.

  • lgladdy

    jacobgraf Must be a permission issue – “brew doctor” should help!

  • jacobgraf

    lgladdy jacobgraf That worked! Had to ‘sudo chown username:staff /usr/local/include’ and then everything worked fine. Thanks for the fix! I hope it didn’t break anything else but who knows when they will get the official fix out so this will have to do! 🙂

  • Rob

    Awesome – thanks!

  • kirchevsky

    Working for me – thanks bro! 🙂

  • adamjacobb

    Worked for me too!  Thanks

  • ssunil

    Thanks. You saved me a lot of time.

  • You, you, you are the greatest human being this world has seen!

  • iamdevice

    woohoo! )) thanks a lot!

  • DavisShaver

    I love the Internet. Thanks man! (For anyone checking, this works for the non-Pro version of MAMP, too.)

  • rodrigoantinarelli

    Oh worked o/ Thanks!

  • willpaige

    Amazing! Thanks Liam… spent ages hunting.

  • mrjohnsly

    How can you reverse these changes once there’s a permanent fix for MAMP?

  • mrjohnsly

    Doesn’t matter, re-read the post and used the fix MAMP suggested.

  • BenGoodman

    Thanks dude! 🙂

  • JD


  • ColinHowells

    Oh man, thanks so much, that was irritating

  • Onur

    you are a life saver!

  • Shadi

    I’ve just found this post and it helped me a lot. Thank you so much Liam! I didn’t know about brew either so I’m thankful for that tip as well!

  • Brandon

    Noob here.

    To begin step one, do I cd into the mamp application directory?

  • Brandon

    Changed the name of /Applications/MAMP/Library/lib/envars to _envars like you mentioned in the update. G2g now, many thanks!

  • Rob H

    LIFE SAVER!!! Thank you so much! But could there be any adverse effects in future releases of Yosemite and/or MAMP?