Skip to main content
ALour
Associate
May 10, 2019
Question

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

  • May 10, 2019
  • 2 replies
  • 985 views

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

This topic has been closed for replies.

2 replies

Markus GIRDLAND
ST Employee
May 14, 2019

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

ALour
ALourAuthor
Associate
May 14, 2019

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