I did the unthinkable and upgraded my OS (in my final year of my PhD!). And surprise-surprise, some of my code wouldn’t compile anymore. I figured I needed to rebuild my macports-installed *nix software but ran into problems with gcc45 and libstdcxx. The issue is a ld64 bug, that was fixed using user adrian’s solution (replicated here):
sudo port uninstall ld64 sudo port -v install ld64 sudo port clean libstdcxx sudo port -d build libstdcxx build.jobs=1 sudo port install libstdcxx
Thank you for this tip! I ran into the same problem and this fixed it. Could you explain what was going going on and how this fixed it, so that this fix isn’t “black magic” to me? 🙂
Also, good luck with your last year on the PhD! I’m just starting my first year in my program.
Thank you for this tip! I ran into the same problem and this fixed it. Could you explain what was going going on and how this fixed it, so that this fix isn’t “black magic” to me?
Also, good luck with your last year on the PhD! I’m just starting my first year in my program.
thanks for the information.
Building libstdcxx is really painful 🙁