I recently upgraded a Linux machine to Ubuntu 24.04. When attempting to use arm-none-eabi-gdb, I encountered the following error:./arm-none-eabi-gdb: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directorylibncurses5 and libncursesw5 have been removed from Ubuntu 24.04 and can be installed by downloading a version not intended for Ubuntu 24.04.Do you have any plans in the next releases to remove this dependency or upgrade to libncurses6?
Hello, I encountered the same issue and I have resolved it with symbolic link. sudo ln -s ./libncursesw.so.6 ./libncursesw.so.5you have to be where the libncursesw.so.6 is. for me : cd ./../lib/x86_64-linux-gnu/
Thanks for the feedback. However, I'm afraid this is quite dangerous: there is a reason why the SONAME of the library has changed: it's because its exposed API has changed. So just doing a symlink might work by chance if only the specific subset of the API that hasn't changed is used, but otherwise you might get funky crashes or weird behavior.
The toolchain should be shipped with its copy of libncurses, so that users don't have to struggle finding a matching version.
Thanks for you answer.I agry with you it's a tempory solution I think. I do this in order to use arm-none-eabi-gdb which need libncurses5 to works. The last version too. For my use, it works for now to use Jlink. Do you resolve the issue differently?
I switched to a different toolchain :-) See toolchains.bootlin.com/
I'll try this. Thank you :)