I installed RM / COBOL Runtime Version 12.17 on Suse Linux Enterprise Server 15 and when running runcobol it gives the following message "runcobol: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory" .
Suse Linux Enterprise Server 15 contains the following libraries:
"./lib64/libncurses.so.6
./lib64/libncursesw.so.6
./lib64/libncurses.so.6.1
./lib64/libncursesw.so.6.1 "
Is there any RM / COBOL Runtime update or is it not compatible with Suse Linux Enterprise Server 15?
Have you tried installing 'libncurses5' package?
zypper in libncurses5
ref:
https://software.opensuse.org/package/libncurses5
I installed RM / COBOL Runtime Version 12.17 on Suse Linux Enterprise Server 15 and when running runcobol it gives the following message "runcobol: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory" .
Suse Linux Enterprise Server 15 contains the following libraries:
"./lib64/libncurses.so.6
./lib64/libncursesw.so.6
./lib64/libncurses.so.6.1
./lib64/libncursesw.so.6.1 "
Is there any RM / COBOL Runtime update or is it not compatible with Suse Linux Enterprise Server 15?
David,
When the product is built, it is linked against ncurses, but the linker on the build machine follows the symbolic links and gets the file with the version number in it. But, we don't have dependence on ncurses 5. I'm sure it will work with 6.
So, you have two solutions:
- Install a ncurses 5
- Create a symbolic link from libncurses.so.5 to libncurses.so.6.
Sorry about this. We tried to fix this in 12.15, and indeed on AIX, the runcobol executable just references libcurses.a, but Linux had other plans.