xtensa-esp32-elf-gdb issue with libpython2.7. | ECLIPSE GDB debugging with JTAG
Posted: Tue Nov 16, 2021 8:23 am
Hello. I have been trying to debug my application with a JTAG.
I configured eclipse for esp-idf and OpenOCD debugging using multiple resources like
https://www.youtube.com/watch?v=CbPX3q7LeBc
and
https://github.com/espressif/idf-eclips ... bugging.md
I am now getting this strange error
"""
Could not determine GDB version after sending: /home/raja/.espressif/tools/xtensa-esp32-elf/esp-2021r2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gdb --version, response:
"""
When I navigated to the path and executed it manually, I got the following:
I see that it points to python 2.7 which I do not have installed on my computer at all.
I set the python environment to Python 3.8 and not 2.7.
Could you please help me with this?
I configured eclipse for esp-idf and OpenOCD debugging using multiple resources like
https://www.youtube.com/watch?v=CbPX3q7LeBc
and
https://github.com/espressif/idf-eclips ... bugging.md
I am now getting this strange error
"""
Could not determine GDB version after sending: /home/raja/.espressif/tools/xtensa-esp32-elf/esp-2021r2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gdb --version, response:
"""
When I navigated to the path and executed it manually, I got the following:
Code: Select all
raja@raja-IdeaPad-Gaming-3-15IMH05:~/.espressif/tools/xtensa-esp32-elf/esp-2021r2-8.4.0/xtensa-esp32-elf/bin$ ./xtensa-esp32-elf-gdb --version
./xtensa-esp32-elf-gdb: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
I set the python environment to Python 3.8 and not 2.7.
Could you please help me with this?