good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
XML::LibXML setup of library pathsby Anonymous Monk |
on Nov 12, 2019 at 13:33 UTC ( [id://11108587]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks,
It could take a long time* to figure this out but I want to enjoy Hauke D's lovely Badge::Simple module right now! I guess my computer has a few versions of libxml2 cause it says this when failing to install XML::LibXML: Failed test 'LIBXML__VERSION == LIBXML_RUNTIME_VERSION'...Your setup of library paths is incorrect! Please help me setup the library paths correctly: cpanm -v Badge::Simple ... ==> Found dependencies: XML::LibXML ... t/01basic.t ........................................ Warning: program compiled against libxml 209 using older 208 Warning: XML::LibXML compiled against libxml2 20904, but runtime libxml2 is older 20800 t/01basic.t ........................................ 1/3 # Failed test 'LIBXML__VERSION == LIBXML_RUNTIME_VERSION' # at t/01basic.t line 18. # got: '20904' # expected: '20800' # DO NOT REPORT THIS FAILURE: Your setup of library paths is incorrect! # # # Compiled against libxml2 version: 20904 # Running libxml2 version: 20800brew info libxml2 libxml2: stable 2.9.9 (bottled), HEAD [keg-only] GNOME XML library http://xmlsoft.org/ /usr/local/Cellar/libxml2/2.9.4_2 (277 files, 10MB) ... Built from source on 2017-04-05 at 01:23:21 ==> Caveats libxml2 is keg-only, which means it was not symlinked into /usr/local, because macOS already provides this software and installing another version in parallel can cause all kinds of trouble.* I tried to install a year ago when Badge::Simple was released but could not figure out my problem with libxml2 :-/ Thank you
Back to
Seekers of Perl Wisdom
|
|