Error while loading shared libraries: libncurses.so.5
search cancel

Error while loading shared libraries: libncurses.so.5

book

Article ID: 279415

calendar_today

Updated On: 03-07-2024

Products

CA Harvest Software Change Manager CA Harvest Software Change Manager - OpenMake Meister

Issue/Introduction

When run hco command the following error message displays and the the command fails:

error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

 

Environment

Harvest Software Change Manager 14.x on RedHat Linus ES8 and above

Cause

On RedHat 8 and above, the libncurses.so.5 binary is not available

Resolution

*** Add a symbolic link from libncurses.so.6 to libncurses.so.5 for each occurrence of “libncurses.so.6”
Example:

# Locate all copies of “libncurses.so.6”
find / -name "libncurses.so.6"

# Then, for each copy of “libncurses.so.6” that was found, cd to the folder it is in and execute 

 ln -s libncurses.so.6 libncurses.so.5

Additional Information

The curses library routines are a terminal-independent method of updating character screens with reasonable optimization.  The ncurses (new curses) library is a freely distributable replacement for the discontinued 4.4 BSD classic curses library.