This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

libncurses.so.5

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?

  • 0  
    Have you tried installing 'libncurses5' package?

    zypper in libncurses5

    ref: https://software.opensuse.org/package/libncurses5
  • 0  

    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:

    1. Install a ncurses 5
    2. 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.