Libncurses.so.6 missing

Hi all,

I installed Slurm as a queue system about 5 years ago compiling from the source.

Some weeks ago I started to get the following error when I try to use scontrol:

(base) rene@h001~ $ scontrol -h
scontrol: error while loading shared libraries: libncurses.so.6: cannot open shared object file: No such file or directory

I checked in /usr/lib64 for the libncurses files:

(base) rene@h001/usr/lib64 $ ls -l libncurses*
-rw-r–r-- 1 root root 18 Jul 19 03:09 libncurses.so
lrwxrwxrwx 1 root root 16 Jul 19 03:09 libncursesw.so → libncursesw.so.6
lrwxrwxrwx 1 root root 16 Jul 25 08:50 libncursesw.so.5 → libncursesw.so.6
lrwxrwxrwx 1 root root 18 Jul 19 03:09 libncursesw.so.6 → libncursesw.so.6.4
-rwxr-xr-x 1 root root 787024 Jul 25 00:33 libncursesw.so.6.4

Even if I create the symbolic link, I get the error:

(base) rene@h001/usr/lib64 $ scontrol -h
scontrol: error while loading shared libraries: /usr/lib64/libncurses.so.6: file too short

A search for libncurses.so.6 with swupd search-file also returns no results and I have the compat-common bundle installed.

Where can I find the libncurses.so.6 library for CL? My version of CL is 39780.

EDIT: I created a symbolick link to libncursesw.so.6. But is this the correct procedure?

Is there any chance you can rebuild against the currently available ncurses? I had to remove the compat content for ncurses as it flagged for a security problem.

Hi @william.douglas

I linked it to libncursesw. It is working so far.

Are there plans to remove this one too?

Nope, only the latest version remains so other than being updated that should stay around.