Hello,
I installed JLink software following chapter 6.1 JLink setup in Working.with.Zephyr.pdf. I can run GDB Server successfully, but hit an issue when I run GDB Client.
jzhang@ubuntu:~$ ./zephyr-sdk-0.11.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gdb
./zephyr-sdk-0.11.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gdb: error while loading shared libraries: libpython3.6m.so.1.0: cannot open shared object file: No such file or directory
I did installed dependencies including python:
python3-dev python3-pip python3-setuptools python3-tk python3-wheel xz-utils file
pip3 install –-user -r ~/zephyrproject/zephyr/scripts/requirements.txt
Any suggestion?
Thanks
GDB Client issue in Ubuntu
I guess the pp3 install command didn't go through as I see the hyphen before 'user' option not correct. In --user, the first hyphen is word bullet not hyphen. When I created the working with zephyr.pdf document from word, due to auto format it happened. I have corrected it and uploaded the pdf again. Please take fresh copy. For quick try, you can just retype the hyphens before 'user'.
Sorry about that.
Sorry about that.
Didn't notice any error with first command, got below info with second command:
Ignoring windows-curses: markers 'sys_platform == "win32"' don't match your environment.
Not sure if this is a problem.
While I still got same error when running gdb client.
./zephyr-sdk-0.11.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gdb: error while loading shared libraries: libpython3.6m.so.1.0: cannot open shared object file: No such file or directory
There's no libpython3.6 installed?
I'm using Ubuntu 20.04 LTS running in VMware on a WIN10 machine.
Ignoring windows-curses: markers 'sys_platform == "win32"' don't match your environment.
Not sure if this is a problem.
While I still got same error when running gdb client.
./zephyr-sdk-0.11.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gdb: error while loading shared libraries: libpython3.6m.so.1.0: cannot open shared object file: No such file or directory
There's no libpython3.6 installed?
I'm using Ubuntu 20.04 LTS running in VMware on a WIN10 machine.
Installed python3.6 and still same error.
jzhang@ubuntu:~$ sudo apt-get install python3.6
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'python3.6-2to3' for regex 'python3.6'
Note, selecting 'libpython3.6-stdlib' for regex 'python3.6'
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
jzhang@ubuntu:~$ ./zephyr-sdk-0.11.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gdb
./zephyr-sdk-0.11.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gdb: error while loading shared libraries: libpython3.6m.so.1.0: cannot open shared object file: No such file or directory
jzhang@ubuntu:~$ sudo apt-get install python3.6
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'python3.6-2to3' for regex 'python3.6'
Note, selecting 'libpython3.6-stdlib' for regex 'python3.6'
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
jzhang@ubuntu:~$ ./zephyr-sdk-0.11.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gdb
./zephyr-sdk-0.11.2/arm-zephyr-eabi/bin/arm-zephyr-eabi-gdb: error while loading shared libraries: libpython3.6m.so.1.0: cannot open shared object file: No such file or directory