I get this error when I run E2Studio in Linux. (This is a "rescue"computer - one with 15 minutes' battery life that used to run Windows XP). I like to use it for debugging as it is disposible in case any high voltages get back from the circuitry. The Windows application runs properly, but I don't really want to connect the "nice" laptop to the development product.
The full error message is:
Could not determine GDB version using command: arm-none-eabi-gdb --versionarm-none-eabi-gdb: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory.
Where do I find the files that it is looking for?
Have you installed libpython 2.7 on your machine ?
Not specifically, but I would have expected the e2studio installer to install any other bits and pieces that it needed. Is that not the case?
I don't think that it is included in the installed software. Could you try installing manually ?
That could explain a lot!python says that 2.7 is end of life. Would it be wise to install a newer version ? Or does it definitely require 2.7?
I am not sure about this, but I would start with 2.7.
So I installed python 2.7.18 and it now says:
arm-none-eabi-gdb error while loading shared libraries libpython2.7.so.1.0: cannot open shared object file: No such file or directory
I’ll just add that the computer has python3.8.10
If I type "gdb --version" into the terminal it knows all about gdb and says it has v.9.2, so why can't it find it from E2Studio
dbGNU gdb (Ubuntu 9.2-0ubuntu1~20.04) 9.2Copyright (C) 2020 Free Software Foundation, Inc.License GPLv3+: GNU GPL version 3 or later <gnu.org/.../gpl.html>This is free software: you are free to change and redistribute it.There is NO WARRANTY, to the extent permitted by law.Type "show copying" and "show warranty" for details.This GDB was configured as "x86_64-linux-gnu".Type "show configuration" for configuration details.For bug reporting instructions, please see:<www.gnu.org/.../>.Find the GDB manual and other documentation resources online at: <www.gnu.org/.../>.
For help, type "help".Type "apropos word" to search for commands related to "word".(gdb) show configurationThis GDB was configured as follows: configure --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-auto-load-dir=$debugdir:$datadir/auto-load --with-auto-load-safe-path=$debugdir:$datadir/auto-load --with-expat --with-gdb-datadir=/usr/share/gdb (relocatable) --with-jit-reader-dir=/usr/lib/gdb (relocatable) --without-libunwind-ia64 --with-lzma --with-babeltrace --without-intel-pt --with-mpfr --without-xxhash --with-python=/usr (relocatable) --without-guile --disable-source-highlight --with-separate-debug-dir=/usr/lib/debug (relocatable) --with-system-gdbinit=/etc/gdb/gdbinit
("Relocatable" means the directory can be moved with the GDB installationtree, and GDB will still find it.)