Debug error shared library libncurses

Maybe a library dependency hasn’t been properly installed or automatically installed at all for the GDB server.

For Manjaro linux you should get ncurses 5 by doing something like

sudo pacman -Syu libncurses5

(refer wiki).