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
Until Xcode8 stabilizes, I retain Xcode7.3, renamed as
/Applications/Xcode7.3.app/
Generally I use Xcode8 which is in
/Applications/Xcode.app/
but when encountering errors such as this, I have the option to
sudo xcode-select -switch /Applications/Xcode7.3.app/
This cured the error
ld: file not found: /usr/lib/system/libsystem_symptoms.dylib for architecture x86_64
for me, when attempting to install an R package:
> install.packages('clickstream')