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

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

book

Article ID: 219634

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

Error Example 1:
WAAE Scheduler (<INSTANCEID>)
/opt/CA/SharedComponents/ccs/cci/bin/caiccid: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

Error Example 2:
DIA DNA daemon started
Executed CA-diadna start.........................................OK
/opt/CA/SharedComponents/ccs/cci/bin/caiccid: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
Executed CA-cci start............................................FAIL 127


Error Example 3:
# 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

 

#cd /opt/CA/SharedComponents/ccs/cci/bin/
#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

CA Workload Automation AE 
AutoSys 12.x

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 and higher CCI tar file uses libstdc++ 6.0

If you use Autosys R12.1 SP1 (12.1.01.00) or higher, then CCI works out of the box.
If you use a version lower than R12.1 SP1 then perform the following 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 its place
5. Restart CCI

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

AutoSys Workload Automation Compatibility Matrix

AutoSys Compatibility Matrix

Additional Information

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