12.2 MySQL Operation
Issue: Error when trying to log into MySQL (./bin/mysql):
Error Messages:
error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directoryerror while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
Troubleshooting Options
- Create Symlinks for Missing Libraries (if libtinfo.so.6 and libncurses.so.6
exist in the
OS):
Commands
ln -s /usr/lib64/libncurses.so.6 /usr/lib64/libncurses.so.5ln -s /usr/lib64/libtinfo.so.6 /usr/lib64/libtinfo.so.5 - Install the Required Package using the following
command:
yum install ncurses-compat-libs
Parent topic: Troubleshooting