Cuda-gdb: error while loading shared libraries: libtinfo.so.5

Hi,
When I fire up cuda-gdb the following error pops up.
cuda-gdb: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
So then i tried to look for the .so file. a symlink is present for it.
lrwxrwxrwx. 1 root root 15 May 10 2019 libtinfo.so.5 -> libtinfo.so.5.9
-rwxr-xr-x. 1 root root 169328 May 10 2019 libtinfo.so.5.9
So what can be the issue?

CUDA version 11, CENT OS 8.