The SpectroSERVER fails to start with the following error message: /apps/ca/spectrum/bin/cmdC: error while loading shared libraries: libPTTClient.so.1: cannot open shared object file: No such file or directory
search cancel

The SpectroSERVER fails to start with the following error message: /apps/ca/spectrum/bin/cmdC: error while loading shared libraries: libPTTClient.so.1: cannot open shared object file: No such file or directory

book

Article ID: 198429

calendar_today

Updated On:

Products

Spectrum CA eHealth

Issue/Introduction

The SpectroSERVER fails to start with the following error message: $SPECROOT/bin/cmdC: error while loading shared libraries: libPTTClient.so.1: cannot open shared object file: No such file or directory  

Cause

The following environment variables  were missing in the /opt/SPECTRUM/spectrum80.env file:

CASHCOMP=/opt/CA/SharedComponents

export CABIN=/opt/CA/SharedComponents/bin

export CALIB=/opt/CA/SharedComponents/lib

Also, the /opt/SPECTRUM/lib and /opt/SPECTRUM/bin directories were not linked to the $SPECROOT/bin and $SPECROOT/lib directories. 

Resolution

Edit the /opt/SPECTRUM/spectrum80.env file and add the following environment variables:

CASHCOMP=/opt/CA/SharedComponents

export CABIN=/opt/CA/SharedComponents/bin

export CALIB=/opt/CA/SharedComponents/lib

Ensure that the /opt/Spectrum/bin directory links to the $SPECROOT/bin directory. 

Ensure that the /opt/SPECTRUM/lib directory links to the $SPECROOT/lib directory.