libncursesw.so.5: cannot open shared object file: No such file or directory
search cancel

libncursesw.so.5: cannot open shared object file: No such file or directory

book

Article ID: 376984

calendar_today

Updated On:

Products

CA 7 Workload Automation

Issue/Introduction

Not able to execute setup command ./CAUJMA.sh

See the following in the error log:

/opt/CA/SharedComponents/installer/bin/vtinstalldialog: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory

Cause

on Red Hat Enterprise Linux (RHEL) 8 because the libncurses.so.5 binary is not available by default. The default library for RHEL 8 is libncurses.so.6 however, libncurses.so.5 is also available for download from RedHat Repository.

Resolution

Check if "libncurses" is installed: Use the command rpm -qi ncurses in the command line to check if "libncurses" is installed. The output should show a version of 6 or higher.

You can also create a softlink: Create a softlink from version 5 to version 6 using the command

ln -s "/usr/lib64/libncurses.so.6.1" "/usr/lib64/libncurses.so.5"