cancel
Showing results for 
Search instead for 
Did you mean: 

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

kevin192291
Visitor

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 1
Ozone
Principal

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.