ADOP Prepare Fails With ‘error while loading shared libraries: libclntsh.so.10.1’ Error

ERROR

afcpctx.sh started at Thu Feb 01 15:54:10 CDT 2022
:
Uploading Metadata file $AD_TOP/12.0.0/admin/template/adctxinf.tmp
Metadata file $AD_TOP/12.0.0/admin/template/adctxinf.tmp upload failed.
Check log file created by FNDCPUCF program.
ERRORCODE = 127 ERRORCODE_END
.end std out.
FNDCPUCF: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: No such file or directory
FNDCPUCF: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: No such file or directory
:
:
[PROFILE PHASE]
AutoConfig could not successfully execute the following scripts:
Directory: $INST_TOP/admin/install
afcpctx.sh INSTE8_PRF 127

AutoConfig is exiting with status 1st

steps

The issue can be reproduced at will with the following steps:

  1. Running the Prepare phase.

CAUSE
The compat-libstdc++ RPM was not installed on this OEL7 operating system.

Which causes the Error “FNDCPUCF: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: No such file or directory”

SOLUTION
To resolve the issue, please perform the steps mentioned below in the given sequence.

  1. Execute the following ABORT process:
    $ adop phase=abort
    $ adop phase=cleanup cleanup_mode=full
  2. Install the compat-libstdc++ RPM.
  3. Bounce the entire instance.
  4. Execute in order:
    $ adop phase=fs_clone
    $ adop phase=prepare

Leave a Comment

Your email address will not be published.