Skip to main content
Associate
May 19, 2025
Question

arm-none-eabi-gdb: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

  • May 19, 2025
  • 1 reply
  • 687 views

Hello all,

I have been hanging on to an anctient version of ubuntu for a LONG time because I need to use STM32CubeIDE,
sadly, IT required me to update because you know..... security and stuff.

I was resisting because I knew I would get this error:

Could not determine GDB version using command: arm-none-eabi-gdb --version
arm-none-eabi-gdb: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

And I had tried to install the required file before, even add a symlink to the so.6 version in the past with no luck. So today I made the update, and when I hit debug right after re-installing the Ide, i got the lovely message.

So it this it for me? Do I need to bug IT to get me a new PC simply to run an old version of ubuntu or is there some way for me to actually run this?
I am guessing no as it seems to be part of the ide...

My current version is: base: Ubuntu 24.04 noble

Anyone else have any luck with this? I read some other posts about this, but none have helped.

Thanks all!!! 

1 reply

Ozone
Principal
May 19, 2025

First, I suggest to run "ldd arm-none-eabi-gdb", which should tell you more about the actual dependency issues.

Ubuntu 24.04 is relatively recent, though.