SAS Watchout - 16.0.0 - libxml-bundle - XMM-Newton
SAS Watchout
Running xmmextractor on Mac OS X 10.11.6 El Capitan, I get the following error message:
Can't load '$SAS_DIR/lib/perl5/darwin-2level/auto/XML/LibXML/LibXML.bundle' for module XML::LibXML: dlopen($SAS_DIR/lib/perl5/darwin-2level/auto/XML/LibXML/LibXML.bundle, 1): Library not loaded: /opt/local/lib/libiconv.2.dylib
Referenced from: $SAS_DIR/lib/perl5/darwin-2level/auto/XML/LibXML/LibXML.bundle
Reason: Incompatible library version: LibXML.bundle requires version 8.0.0 or later,
but libiconv.2.dylib provides version 7.0.0 at /Users/user/perl5/perlbrew/perls/perl-5.22.3/lib/5.22.3/darwin-2level/DynaLoader.pm line 197.
at $SAS_DIR/lib/perl5/darwin-2level/XML/LibXML.pm line 156.
BEGIN failed--compilation aborted at $SAS_DIR/lib/perl5/darwin-2level/XML/LibXML.pm line 156.
Compilation failed in require at $SAS_DIR/lib/perl5/parseXMLConfFile.pl line 5.
BEGIN failed--compilation aborted at $SAS_DIR/lib/perl5/parseXMLConfFile.pl line 5.
Compilation failed in require at $SAS_DIR/bin/xmmextractor line 206.
How can I fix this problem?
To fix the problem you need a patched LibXML.bundle that you can download from here. Check the readme.txt file included there for details on how to install it.
In the error message shown above, $SAS_DIR represents the user's installation directory for SAS 16.0.0.