so i downloaded the STM32 Cube IDE , everything worked fine while i was compiling c programs for my own machine (x86) but yesterday i tried to compile a program and upload it to my stm32 nucleo board i downloaded a firmware update(not sure if related) , i got these errors:
"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
when running the command arm-none-eabi-gdb --version in konsole i get this output:
Exception caught while booting Guile.
Error in function “make_objcode_from_file”:
bad header on object file: “\x7fELF \x02 \x01 \x01ÿ \x00 \x00 \x00 \x00 \x00 \x00 \x00 \x00”
arm-none-eabi-gdb: warning: Could not complete Guile gdb module initialization from:
Limited Guile support is available.
Suggest passing --data-directory=/path/to/gdb/data-directory.
GNU gdb (GDB) 10.1
Copyright © 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
also i do have the library i checked it like so:
ls /lib/ | grep libtinfo
i tried downloading using pacman -S and pamac GUI here are the packages i have downloaded:
arm - none - eabi-binutils 2.35.1-1 arm - none - eabi-gcc 10.2.0.1 arm - none - eabi-gdb 10.1-1 arm - none - eabi-newlib 3.3.0-1 "
all of them from pamac GUI
i tried searching online and the only related article i found with an answer was on arch linux forums but im not allowed to post links , basically they referred the guy to a github repo where they had edited the PKG file.
but they seem to be advanced users , did not understand what the solution was
so could you guys please help me out? and im a new user so please explain in details otherwise i won’t understand