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-03-25 2:18 PM - edited 2025-03-25 2:18 PM
This solution also doesn't work for me.I'm having same behavior as Richard.
My question would be what linux distribution is proven to work for STM32 tools?
2025-03-25 2:45 PM
Hi,
i have latest MxLinux , MX 23.5 Libretto;
STM32CubeIDE 1.18.0 : installed 1.18. amd64_deb_bundle , working all fine - except : no debug, because still needs this 20 y old libs, libncurses.so5 or so, but after install gdb-multiarch (and making symlink) now fine.
And (until now) never crash or suddenly cannot open ioc /Cube file and hang up then, what happened with (my last) version 1.13.
Some days ago needed CubeProgrammer, download en.stm32cubeprg-lin-v2-19-0, unzip, start install - ok. working.
Here seems from install to running it all ok, no problems at all.
2025-03-30 8:21 AM - edited 2025-03-30 8:22 AM
OS: 24.04.2 LTS (Noble Numbat)
STM32CubeIDE Version: 1.18.0
Steps:
1. arm-none-eabi-... installation:
- Download the Latest Release
x86_64 Linux hosted cross toolchains
AArch32 bare-metal target (arm-none-eabi)
arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi.tar.xz
https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads
- Extract the Archive
tar -xf arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi.tar.xz
- Move It to /opt
sudo mv arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi /opt/arm-toolchain
- Add It to Your PATH
echo 'export PATH=/opt/arm-toolchain/bin:$PATH' >> ~/.bashrc
source ~/.bashrc
2. libncurses5 installation - Solution from here:
https://askubuntu.com/questions/1531398/how-to-install-libncurses-so-5-for-ubuntu-24-04
https://stackoverflow.com/a/39840595
Add to source list and then install:
deb http://security.ubuntu.com/ubuntu focal-security main universe
echo "deb http://security.ubuntu.com/ubuntu focal-security main universe" > /etc/apt/sources.list.d/ubuntu-focal-sources.list
sudo apt-get update
sudo apt-get install libncurses5
3. Nothing else done in preferences