Unable to start CCI on RHEL8 error while loading shared libraries: libstdc++.so.5
search cancel

Unable to start CCI on RHEL8 error while loading shared libraries: libstdc++.so.5

book

Article ID: 219634

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

# unisrvcntr start CA-cci

/etc/init.d/CA-cci: line 106: host: command not found

/etc/init.d/CA-cci: line 106: host: command not found

/CA/SharedComponents/ccs/cci/bin/caiccid: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or director                                                                             y

Executed CA-cci start............................................FAIL 127

 

# ldd caiccid

        linux-gate.so.1 (0xf7f1b000)

        /opt/CA/CAlib/libccimt.so (0xf7eed000)

        /opt/CA/CAlib/libpig.so (0xf7ea3000)

        /opt/CA/CAlib/libenf.so (0xf7e9a000)

        libpthread.so.0 => /lib/libpthread.so.0 (0xf7e7a000)

        libdl.so.2 => /lib/libdl.so.2 (0xf7e75000)

        libm.so.6 => /lib/libm.so.6 (0xf7da3000)

        libnsl.so.1 => /lib/libnsl.so.1 (0xf7d87000)

        libcrypt.so.1 => /lib/libcrypt.so.1 (0xf7d5c000)

        librt.so.1 => /lib/librt.so.1 (0xf7d52000)

        libc.so.6 => /lib/libc.so.6 (0xf7ba8000)

        /lib/ld-linux.so.2 (0xf7f1d000)

        libstdc++.so.5 => not found

 

Environment

Component : CA Workload Automation AE 

Cause

libstdc++.so.5 is provided by the compat-libstdc++-33 package. It was included in RHEL7 for backwards compatibility with older versions. This is not shipped with RHEL 8

Resolution

The libpig.so from 12.1 SP1 CCI tar file uses libstdc++ 6.0

If you use Autosys R12.1 SP1(12.1.01.00), then CCI works out of the box.
If you use lower version than R12.1 SP1 then perform below steps:
1. Extract the R12.1 SP1 image 
2. Extract the libpg.so from CCI tar file (\modules\CCI\cci-12.1.00.00-Linux.tar) CCI_LINUX/lib/libpig.so
3. Shutdown CCI 
4. Back up the $CAIGLBL0000/lib/libpig.so (usually /opt/CA/SharedComponents/ccs/lib) and copy the extracted file in it's place
5. Restart CCI

Also make sure that the pre-requisite OS packages need to be installed as mentioned:

https://techdocs.broadcom.com/us/en/ca-enterprise-software/intelligent-automation/autosys-workload-automation/12-1-01/release-notes/ae-compatibility-matrix.html#:~:text=Prerequisites%20for%C2%A0CCI%3A

AutoSys Compatibility Matrix

Additional Information

https://support.broadcom.com/external/content/release-announcements/CA-Universal-Job-Management-Agent-Certification-Information/7240