Linux Mint 22 debug issues

Discussions and support about ChibiStudio, the free development environment for ARM.
wolf
Posts: 28
Joined: Mon Dec 31, 2012 1:55 pm
Location: France
Been thanked: 2 times

Linux Mint 22 debug issues

Postby wolf » 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

User avatar
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

Postby Giovanni » Fri Jan 03, 2025 5:10 pm

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

wolf
Posts: 28
Joined: Mon Dec 31, 2012 1:55 pm
Location: France
Been thanked: 2 times

Re: Linux Mint 22 debug issues

Postby wolf » Fri Jan 03, 2025 5:38 pm

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

User avatar
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

Postby Giovanni » Fri Jan 03, 2025 5:39 pm

Ah, forgot that one, thanks.

Giovanni

wolf
Posts: 28
Joined: Mon Dec 31, 2012 1:55 pm
Location: France
Been thanked: 2 times

Re: Linux Mint 22 debug issues

Postby wolf » Fri Jan 03, 2025 5:45 pm

Perfect,

looking forward to this ChibiOS Mint VM

Regards, Wolf


Return to “ChibiStudio”

Who is online

Users browsing this forum: No registered users and 12 guests