This issue relates to the use of -stdlib=
when compiling. I cannot tell you which value (libstdc++
or libc++
) is the correct one to use, but it has to match the one used by the libraries when they were compiled.
I guess you'll need to dig through the homebrew logs to find out.