Protection Engine tool error on Linux: "error while loading shared libraries...cannot run shared object file"
search cancel

Protection Engine tool error on Linux: "error while loading shared libraries...cannot run shared object file"

book

Article ID: 200246

calendar_today

Updated On:

Products

Protection Engine for Cloud Services Protection Engine for NAS

Issue/Introduction

When running a c-based tool packaged with Symantec Protection Engine (SPE) on Linux, you get an error that includes "cannot run shared object file". You have verified that the specified file is in the directory. These tools include:

  • ssecls
  • xmlmodifier
  • logconverter
  • cloudmgmtutil

 

Example error:

./ssecls: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory

Environment

Release : 7.5+

Platform: Linux

Cause

The tool you ran depends on a packaged library but cannot find it, even though it is in the local directory. It cannot find the file because the local directory has not been exported as part of LD_LIBRARY_PATH.

Resolution

At the bash prompt, while logged in as root, type (replace the path with the path to the tool's directory):

export LD_LIBRARY_PATH=/path/to/directory

Example:

export LD_LIBRARY_PATH=/opt/SYMCScan/ssecls/C

Additional Information

See techdocs.broadcom.com for more information about Protection Engine and its tools.