If you are receiving the error 'missing shared lib libncurses' when running nsqmmfcl on Linux, your Linux installation may not have the libncurses library installed or the required version of the shared object (so).
You can resolve this issue by creating a symbolic link (also called a soft link).
- First, perform this test to determine whether the library is missing, or you have the wrong version:
ldd bin/nsqmmfcl
- If you receive a message like the one below, stating that libncurses is not found, go to step 3.
libncurses.so.5 => not found
- Display available libraries:
ls -l /lib64/libncurses*
ls -l /lib64/libcurses*
- Do one of the following:
If you have the wrong version of the library: |
Create a symbolic link (also called a soft link) to another existing version of libncurses. For example, to link required shared object (.so) version 5 to existing version 6: ln -s /usr/lib64/libncurses.so.6 /lib64/libncurses.so.5 |
If you have the library under a different name: |
Create a symbolic link from one name to another. For example, to link libcurses to libncurses, create the link for libncurses in /lib64 pointing to libcurses, as user root: ln -s /lib64/libcurses.so /lib64/libncurses.so |
- Repeat the command "ldd bin/nsqmmfcl"
Results should not show any unresolved libraries, and nsqmmfcl should run normally.