cancel
Showing results for 
Search instead for 
Did you mean: 

How to solve the GDB issue for Linux Mint

Sirensun
Visitor

Hello together,

 

I have installed the latest Linux mint at me and the latest STM32CubeIDE.

My board is STM32L010 Value Line Nucleo-64 (MCU: STM32L010RBT6 64 Pins).

 

I have encountered again the problem with the GDB version.

I cannot start the debug mode or run the compiled code.

I received this error message.

"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 director"

 

I have tried to use the previous solution to install the ncurses5. "sudo apt-get install libncurses5 libncurses5:i386".
It said the package is not found.

 

Can anyone please provide me any solution here?

Thank you!

 

1 REPLY 1
Pavel A.
Evangelist III

Someone could already build the gdb without dependency on any libcurses at all.