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
Linux Mint 22 debug issues
- Giovanni
- Site Admin
- Posts: 14565
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1112 times
- Been thanked: 937 times
- Contact:
Re: Linux Mint 22 debug issues
Hi,
Open a shell then:
cd /lib/x86_64-linux-gnu
sudo ln -s ./libncursesw.so.6 ./libncursesw.so.5
sudo ln -s ./libncurses.so.6 ./libncurses.so.5
I am redoing the ChibiOS Mint VM right now and just did that.
Giovanni
Open a shell then:
cd /lib/x86_64-linux-gnu
sudo ln -s ./libncursesw.so.6 ./libncursesw.so.5
sudo ln -s ./libncurses.so.6 ./libncurses.so.5
I am redoing the ChibiOS Mint VM right now and just did that.
Giovanni
Re: Linux Mint 22 debug issues
Wow, that was fast!
I did as suggested and I got following error after:
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
So i did:
sudo ln -s ./libtinfo.so.6 ./libtinfo.so.5
And debugging works!
Many thanks,
Wolf
I did as suggested and I got following error after:
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
So i did:
sudo ln -s ./libtinfo.so.6 ./libtinfo.so.5
And debugging works!
Many thanks,
Wolf
- Giovanni
- Site Admin
- Posts: 14565
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1112 times
- Been thanked: 937 times
- Contact:
Who is online
Users browsing this forum: No registered users and 12 guests