Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XML::LibXML setup of library paths
by choroba (Cardinal) on Nov 12, 2019 at 15:19 UTC | |
|
Re: XML::LibXML setup of library paths
by jcb (Parson) on Nov 13, 2019 at 04:22 UTC | |
by Anonymous Monk on Nov 13, 2019 at 11:38 UTC | |
by Anonymous Monk on Nov 14, 2019 at 01:46 UTC | |
by jcb (Parson) on Nov 14, 2019 at 23:24 UTC | |
by Anonymous Monk on Nov 13, 2019 at 14:23 UTC | |
by Anonymous Monk on Nov 13, 2019 at 20:19 UTC | |
by Your Mother (Archbishop) on Nov 13, 2019 at 21:23 UTC | |
|
Re: XML::LibXML setup of library paths under perlbrew
by Anonymous Monk on Nov 13, 2019 at 11:35 UTC |