in reply to Re: XML::LibXML setup of library paths
in thread XML::LibXML setup of library paths

I have 3 versions, cause the first 2 are identical, except for date (/opt is 2012 and /usr is 2018)
locate xmlversion.h

/opt/local/include/libxml2/libxml/xmlversion.h
/usr/include/libxml2/libxml/xmlversion.h
/usr/local/Cellar/libxml2/2.9.4_2/include/libxml2/libxml/xmlversion.h
/usr/local/Cellar/libxml2/2.9.7/include/libxml2/libxml/xmlversion.h
  • Comment on Re^2: XML::LibXML setup of library paths

Replies are listed 'Best First'.
Re^3: XML::LibXML setup of library paths
by jcb (Parson) on Nov 14, 2019 at 23:24 UTC

    Those first two are the ancient version Apple ships as part of Mac OS X. I do not know how to get Mac OS X to actually load the newer versions. Maybe add the directory containing a "libxml" .dylib to LD_LIBRARY_PATH whenever running your new perl extension?