I just updated to Xcode 8, and I can no longer build xml2-based applications. If I build a simple file and try to build it as follows:
c++ myapp.cc `xml2-config
The final update from geoHeil on https://github.com/igraph/rigraph/issues/173 helped me resolve this issue on OSX.
It was as simple as these two steps:
Terminal> brew uninstall suite-sparse --ignore-dependencies
R> install.packages("igraph")
ignore-dependencies
was necessary because Octave had a dependency on suite-sparse.