error while loading shared libraries: libnsl.so.1
search cancel

error while loading shared libraries: libnsl.so.1

book

Article ID: 380065

calendar_today

Updated On:

Products

CA Harvest Software Change Manager

Issue/Introduction

After upgraded the Linux OS, Harvest promotion failed on some prelink process with these errors in the log

E03020134: lus: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory.
E03020134: sqlplus: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory.

Environment

CA Software Change Management 14.0+

RH Linux 8.x

Cause

The 32 bit libnsl.so.1 is missing.

Resolution

Please do the following



    • Have your Linux admin install the 32 bit libnsl.so.1 package and make sure libnsl.so.1 file is present in /usr/lib

    • Edit the .profile of the cascm user adding :/usr/lib to the end of LD_LIBRARY_PATH environment variable
      For Example LD_LIBRARY_PATH=/opt/CA/pec/lib/i86_64_linux24:/opt/CA/pec/graphics/i86_64_linux24/lib:/opt/CA/scm/lib:/opt/CA/odbc/lib:/opt/lib/cobol/lib:/export/home/oracle/product/19.3.0_client32/bin:/usr/lib

    • Restart Harvest broker

    • Promote again