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

82 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

  26. I am not sure where youre getting your info but good topic I needs to spend some time learning much more or understanding more Thanks for magnificent info I was looking for this information for my mission

  27. My brother recommended I might like this web site He was totally right This post actually made my day You cannt imagine just how much time I had spent for this information Thanks

  28. helloI like your writing very so much proportion we keep up a correspondence extra approximately your post on AOL I need an expert in this space to unravel my problem May be that is you Taking a look forward to see you

  29. Thanks I have recently been looking for info about this subject for a while and yours is the greatest I have discovered so far However what in regards to the bottom line Are you certain in regards to the supply

  30. Your articles never fail to captivate me. Each one is a testament to your expertise and dedication to your craft. Thank you for sharing your wisdom with the world.

  31. What i dont understood is in reality how youre now not really a lot more smartlyfavored than you might be now Youre very intelligent You understand therefore significantly in terms of this topic produced me personally believe it from a lot of numerous angles Its like women and men are not interested except it is one thing to accomplish with Woman gaga Your own stuffs outstanding Always care for it up

  32. What i do not understood is in truth how you are not actually a lot more smartlyliked than you may be now You are very intelligent You realize therefore significantly in the case of this topic produced me individually imagine it from numerous numerous angles Its like men and women dont seem to be fascinated until it is one thing to do with Woman gaga Your own stuffs nice All the time care for it up

  33. Fantastic site A lot of helpful info here Im sending it to some buddies ans additionally sharing in delicious And naturally thanks on your sweat

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

  35. obviously like your website but you need to test the spelling on quite a few of your posts Several of them are rife with spelling problems and I to find it very troublesome to inform the reality on the other hand Ill certainly come back again

  36. Thank you for the auspicious writeup It in fact was a amusement account it Look advanced to more added agreeable from you By the way how could we communicate

  37. Thank you for the auspicious writeup It in fact was a amusement account it Look advanced to far added agreeable from you However how can we communicate

  38. Your writing is like a breath of fresh air in the often stale world of online content. Your unique perspective and engaging style set you apart from the crowd. Thank you for sharing your talents with us.

  39. I loved as much as youll receive carried out right here The sketch is attractive your authored material stylish nonetheless you command get bought an nervousness over that you wish be delivering the following unwell unquestionably come more formerly again as exactly the same nearly a lot often inside case you shield this hike

  40. Usually I do not read article on blogs however I would like to say that this writeup very compelled me to take a look at and do so Your writing taste has been amazed me Thanks quite nice post

  41. Your blog is a true hidden gem on the internet. Your thoughtful analysis and engaging writing style set you apart from the crowd. Keep up the excellent work!

  42. you are truly a just right webmaster The site loading speed is incredible It kind of feels that youre doing any distinctive trick In addition The contents are masterwork you have done a great activity in this matter

  43. Your blog is a treasure trove of valuable insights and thought-provoking commentary. Your dedication to your craft is evident in every word you write. Keep up the fantastic work!

Leave a Reply

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