arm-none-eabi-gdb need libncurses5, which is too old
Mainstream versions of Linux already use libncurses6, please update your software as soon as possible
/opt/st/stm32cubeclt_1.19.0/GNU-tools-for-STM32/bin$ ./arm-none-eabi-gdb
./arm-none-eabi-gdb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory