Linux Mint 22 debug issues
Posted: Fri Jan 03, 2025 4:59 pm
Hi all!
I installed Linux Mint 22 and have it up to date.
After installing ChibiStudio_Linux_2023_02.7z evrything works fiine until it comes to debugging an STM32 project.
OpenOCD on STLink (prompts for .cfg target configuration) works ok,
but executing RT-STM32F411RE-NUCLEO64 (build-ch.elf)(OpenOCD, Flash and Run) gives an error message related to the GDB.
Here is what it says:
Could not determine GDB version using command: arm-none-eabi-gdb --version
arm-none-eabi-gdb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
Searching the net for a solution, it seems that libnurses.so.5 is not available on Linux Mint 22 for security reasons.
Any idea on how to get this working?
Thanks ansd regards,
Wolf
I installed Linux Mint 22 and have it up to date.
After installing ChibiStudio_Linux_2023_02.7z evrything works fiine until it comes to debugging an STM32 project.
OpenOCD on STLink (prompts for .cfg target configuration) works ok,
but executing RT-STM32F411RE-NUCLEO64 (build-ch.elf)(OpenOCD, Flash and Run) gives an error message related to the GDB.
Here is what it says:
Could not determine GDB version using command: arm-none-eabi-gdb --version
arm-none-eabi-gdb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
Searching the net for a solution, it seems that libnurses.so.5 is not available on Linux Mint 22 for security reasons.
Any idea on how to get this working?
Thanks ansd regards,
Wolf