Error about Missing Library when running xmlmodifier or logconverter in Protection Engine (SPE) Linux.
search cancel

Error about Missing Library when running xmlmodifier or logconverter in Protection Engine (SPE) Linux.

book

Article ID: 164758

calendar_today

Updated On:

Products

Protection Engine for Cloud Services Protection Engine for NAS

Issue/Introduction

When xmlmodifier and logconverter commands are executed, they return an error that libxml2.so.2 cannot be found or is missing.  Libxml2.so.2 is located in the same folder as the xmlmodifier and logconverter executables.

[email protected]:/opt/SYMCScan/bin# ./xmlmodifier
ld.so.1: xmlmodifier: fatal: libxml2.so.2: version 'LIBXML2_2.7.3' not found (required by file xmlmodifier)
ld.so.1: xmlmodifier: fatal: libxml2.so.2: open failed: No such file or directory

[email protected]:/opt/SYMCScan/bin# ./logconverter
ld.so.1: logconverter: fatal: libxml2.so.2: version 'LIBXML2_2.4.30' not found (required by file logconverter)
ld.so.1: logconverter: fatal: libxml2.so.2: open failed: No such file or directory
 

 

Environment

SPE 7.x, 8.x installed on Linux

SPE 7.5.x installed on Solaris

Cause

Logconverter and xmlmodifer were not able to find libxml2.so.2 searching the paths in the existing LD_LIBRARY_PATH environment variable.

Resolution

libxml2.so.2 exists in SPE's bin directory with logconverter and xmlmodifier. The LD_LIBRARY_PATH environment variable will need to be updated to include SPE's bin directory so that these programs can find libxml2.so when they run.

Use the following command to update the LD_LIBRARY_PATH environment variable. If you installed SPE to a different directory than default, change the path as appropriate.

export LD_LIBRARY_PATH=/opt/SYMCScan/bin

Note: This change is not permanent. To make it permanent, this command needs added to the user profile.