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 </Applications/MAMP/Library/bin> 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 brew.sh 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.


Comments

64 responses to “MAMP Pro on Yosemite Beta 5”

  1. jacobgraf Avatar
    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.
    “`

  2. lgladdy Avatar

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

  3. jacobgraf Avatar
    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! 🙂

  4. Awesome – thanks!

  5. kirchevsky Avatar
    kirchevsky

    Working for me – thanks bro! 🙂

  6. adamjacobb Avatar
    adamjacobb

    Worked for me too!  Thanks

  7. Thanks. You saved me a lot of time.

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

  9. iamdevice Avatar
    iamdevice

    woohoo! )) thanks a lot!

  10. DavisShaver Avatar
    DavisShaver

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

  11. rodrigoantinarelli Avatar
    rodrigoantinarelli

    Oh worked o/ Thanks!

  12. willpaige Avatar
    willpaige

    Amazing! Thanks Liam… spent ages hunting.

  13. mrjohnsly Avatar
    mrjohnsly

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

  14. mrjohnsly Avatar
    mrjohnsly

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

  15. BenGoodman Avatar
    BenGoodman

    Thanks dude! 🙂

  16. Thanks!

  17. ColinHowells Avatar
    ColinHowells

    Oh man, thanks so much, that was irritating

  18. you are a life saver!

  19. 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!

  20. Brandon Avatar

    Noob here.

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

  21. Brandon Avatar

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

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

  23. of course like your website but you have to check the spelling on several of your posts A number of them are rife with spelling issues and I in finding it very troublesome to inform the reality on the other hand I will certainly come back again

  24. I wanted to take a moment to commend you on the outstanding quality of your blog. Your dedication to excellence is evident in every aspect of your writing. Truly impressive!

  25. hiI like your writing so much share we be in contact more approximately your article on AOL I need a specialist in this area to resolve my problem Maybe that is you Looking ahead to see you

Leave a Reply

Your email address will not be published. Required fields are marked *