Protection Engine certificate import error: java.lang.UnsatisfiedLinkError: /opt/SYMCScan/bin/libspecrypt.so

book

Article ID: 211220

calendar_today

Updated On:

Products

Protection Engine for NAS Protection Engine for Cloud Services Protection for SharePoint Servers

Issue/Introduction

When attempting to import a .pfx in to Symantec Protection Engine (SPE) on Linux using certinstall.jar, the following error is received:

Exception in thread "main" java.lang.UnsatisfiedLinkError: /opt/SYMCScan/bin/libspecrypt.so: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /opt/SYMCScan/bin/libspecrypt.so)
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
        at java.lang.Runtime.load0(Runtime.java:809)
        at java.lang.System.load(System.java:1086)
        at com.symantec.certinstall.ReadKeyFromConf.DecryptPasswordWithKey(Unknown Source)
        at com.symantec.certinstall.ReadKeyFromConf.getDecryptedPlainText(Unknown Source)
        at com.symantec.certinstall.Main.parseArguments(Unknown Source)
        at com.symantec.certinstall.Main.main(Unknown Source)

Cause

The SPE directory has not been exported in the LD_LIBRARY_PATH variable.

Environment

SPE on Linux

Resolution

Run the following command before attempting to import the certificate (replace <install dir> with SPE's installation directory. By default, this is /opt/SYMCScan):

export LD_LIBRARY_PATH=<install dir>\bin