MacOS – Install CouchDB via Home Brew

homebrewmacos

I'm trying to install CouchDB using Homebrew but it gives me the following error:

Error: couchdb dependency spidermonkey was built with the following
C++ standard library: libstdc++ (from clang)

This is incompatible with the standard library being used
to build couchdb: libc++ (from clang)

Please reinstall spidermonkey using a compatible compiler.
hint: Check https://github.com/mxcl/homebrew/wiki/C++-Standard-Libraries

I went to the given URL and yes: I am on Mavericks GM.
I tried a complete reinstall of homebrew but that still gives me the same error.

But how can I reinstall Spidermonkey with libc++?

Best Answer

I have filed a bug report on the homebrew project. The problem is fixed now.