Missing libpython3.6m.so.1.0 when I try to tun arm-none-eabi-gdb (Ubuntu 22.04)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Missing libpython3.6m.so.1.0 when I try to tun arm-none-eabi-gdb (Ubuntu 22.04)

跳至解决方案
4,504 次查看
hfranco
Contributor II

Hello,

I am trying to run arm-none-eabi-gdb (gcc-arm-11.2-2022.02-x86_64-arm-none-eabi) with JLink from Segger to debug my iMX8 (SDK_2_9_0_MIMX8QM6xxxFF). I'm using Ubuntu 22.04 and my python installed is 3.10.
I'm getting this error:

$ arm-none-eabi-gdb igpio_led_output_m40.elf
arm-none-eabi-gdb: error while loading shared libraries: libpython3.6m.so.1.0: cannot open shared object file: No such file or directory

Do any of you knows how to solve this issue? 

Thanks!

0 项奖励
回复
1 解答
4,487 次查看
hfranco
Contributor II

Unfortunately, this library isn't available for ubuntu 22.04. I had to compile it manually, this guide fixed it: https://community.arm.com/support-forums/f/compilers-and-libraries-forum/52805/gcc-arm-11-2-2022-02-...

Thank you!

在原帖中查看解决方案

0 项奖励
回复
2 回复数
4,492 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello hfranco,

 

It looks like you need to install the library for debug it first:

libpython3.6-dev

 

Regards

0 项奖励
回复
4,488 次查看
hfranco
Contributor II

Unfortunately, this library isn't available for ubuntu 22.04. I had to compile it manually, this guide fixed it: https://community.arm.com/support-forums/f/compilers-and-libraries-forum/52805/gcc-arm-11-2-2022-02-...

Thank you!

0 项奖励
回复