Install XML::LibXML on MacOS
This assumes that you have libxml2
installed via Homebrew
$ brew install libxml2
Add the following to your ~/.bash_profile
# PATH
PATH="/usr/local/opt/libxml2/bin:$PATH"
export PATH
This makes sure the correct xml2-config
is executed.