cancel
Showing results for 
Search instead for 
Did you mean: 

On ubuntu; debug says "Could not determine GDB version"

DQuir.1
Associate II

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

 

41 REPLIES 41

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

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:

https://community.st.com/t5/stm32cubeide-mcus/on-ubuntu-debug-says-quot-could-not-determine-gdb-version-quot/m-p/796903#

...just search here in forum, what solutions work on different Linux variants.

If you feel a post has answered your question, please click "Accept as Solution".