I am using MSYS2 and have installed all the gcc, g++ and gdb. gcc and g++ are working fine and I can check for the version. but while trying to check for gdb version:
$ gdb --version
C:/msys64/mingw64/bin/gdb.exe: error while loading shared libraries: libpython3.10.dll: cannot open shared object file: No such file or directory
This shows up. I have tried reinstalling the package but the error remains. How do I solve this? (beginner so apologies for any mistakes)