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/.
2025-10-31 12:16 AM
Hello @KelvinNovais
It seems you are using the generic installer(amd64.sh) which don't install required libraries.
So, let's try to uninstall STM32CubeIDE 1.19.0 and then install it using deb_bundle installer, it should install automatically all needed libraries including libncurses5.
Please try this solution, and let me know your feedback. I’ll be waiting to hear from you.
THX
Ghofrane
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-10-31 7:35 AM
It seems you are using the generic installer(amd64.sh) which don't install required libraries.
Actually no, I installed it using the rpm_bundle installer
So, let's try to uninstall STM32CubeIDE 1.19.0 and then install it using deb_bundle installer
The deb installer won't work on Fedora. Even so, I tried; but as expected, it was unsuccessful because it tries to call dpkg instead of rpm.
So I removed all CubeIDE related installations and reinstalled the IDE using the rpm package, but the problem persists.