- or download this
brew install libxml2
Updating Homebrew...
...
Warning: libxml2 2.9.10_2 is already installed and up-to-date
To reinstall 2.9.10_2, run `brew reinstall libxml2`
- or download this
# PATH
PATH="/usr/local/Cellar/libxml2/2.9.10_2/bin:$PATH"
export PATH
- or download this
cpanm XML::LibXML
--> Working on XML::LibXML
...
Configuring XML-LibXML-2.0206 ... OK
Building and testing XML-LibXML-2.0206 ... FAIL
! Installing XML::LibXML failed. See /Users/root/.cpanm/work/160710875
+5.33137/build.log for details. Retry with --force to force install it
+.
- or download this
Can't load '/Users/root/.cpanm/work/1607108755.33137/XML-LibXML-2.0206
+/blib/arch/auto/XML/LibXML/LibXML.bundle' for module XML::LibXML: dlo
+pen(/Users/root/.cpanm/work/1607108755.33137/XML-LibXML-2.0206/blib/a
+rch/auto/XML/LibXML/LibXML.bundle, 2): Symbol not found: _xmlFree
Referenced from: /Users/root/.cpanm/work/1607108755.33137/XML-LibXML
+-2.0206/blib/arch/auto/XML/LibXML/LibXML.bundle
...
t/02parse.t ........................................
Dubious, test returned 2 (wstat 512, 0x200)
Failed 533/533 subtests