cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE cannot connect to ST-LINK, but the STM32CubeProgrammer can

ALour
Associate

When I try to connect to the board from CubeIDE I always get an error message. At first I was lacking GLIBCXX_3.4.2, but now that it has been installed, it still cannot connect.

If I use STM32CubeProgrammer, I can read and write to the board withou issues.

The error message is as follows:

/opt/st/stm32cubeide_1.0.0/plugins/com.st.stm32cube.ide.mcu.externaltools.stlink-gdb-server.linux64_1.0.0.201904160814/tools/bin/ST-LINK_gdbserver: relocation error: /opt/st/stm32cubeide_1.0.0/plugins/com.st.stm32cube.ide.mcu.externaltools.stlink-gdb-server.linux64_1.0.0.201904160814/tools/bin/ST-LINK_gdbserver: symbol _ZTINSt8ios_base7failureB5cxx11E, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference

2 REPLIES 2
Markus GIRDLAND
ST Employee

What distribution are you using and what installer (RPM, Debian or Generic) did you use?

ALour
Associate

I'm using Ubuntu 14.04 LTS and installed STM32CubeIDE with the DEB package.