2025-10-30 4:19 PM
While trying to launch a project, I get the following error:
'Launching <Project Name>' has encountered a problem.
Could not determine GDB version using command: arm-none-eabi-gdb --version
Could not determine GDB version using command: arm-none-eabi-gdb --version
arm-none-eabi-gdb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
OS: Fedora Linux 42
STM32CubeIDE version: 1.19.0
Although libncurses.so.5 is apparently a very old package, I have "ncurses-compat-libs", which should provide compatibility with the required package version. I can find it on /usr/lib/ but not on /usr/lib64/.
Solved! Go to Solution.
2025-11-05 6:49 AM
Thanks for the support!
That's interesting that the ncurses v5 libraries appears in /usr/lib instead of /usr/lib64, because your posted link says they should be installed under /usr/lib64
For some reason, Fedora was reporting that the ncurses-compat-libs was already installed, although just the 32bits was installed. The fix was very simple:
sudo dnf install ncurses-compat-libs.x86_64
So this ensures that the 64 bits package is installed.