2020-02-25 12:47 PM - last edited on 2025-02-11 3:24 PM by Andrew Neil
Could not determine GDB version using command: /opt/st/stm32cubeide_1.2.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.linux64_1.0.0.201904181610/tools/bin/arm-none-eabi-gdb --version
/opt/st/stm32cubeide_1.2.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.linux64_1.0.0.201904181610/tools/bin/arm-none-eabi-gdb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
Solved! Go to Solution.
2025-04-26 1:58 AM
Hi, now doesn't work, what to do?
Reading packet lists ... Ready
Building a tree of addictions ... ready
Reading information about the state ... ready
Libncurses5 package is not available, but mentioned in the list of dependencies of another
Package. This may mean that the package is absent, outdated or
Available from sources not mentioned in Sources.list
E: For the Libncurses5 package, a candidate for installation was not found
And when I write the code for the controller (F411re), an error is issued:
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
2025-04-26 3:39 AM
Hi,
maybe:
You have to install STM32CubeIDE Generic Linux Installer, and not the STM32CubeIDE Debian Linux Installer.
Or...
i installed gdb-multiarch and set symlinks, see:
...just search here in forum, what solutions work on different Linux variants.
2025-05-02 6:19 AM
I am using linux mint and this method worked for me than you very much sir.