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)

ソリューションへジャンプ
3,811件の閲覧回数
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 解決策
3,794件の閲覧回数
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 返答(返信)
3,799件の閲覧回数
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 件の賞賛
3,795件の閲覧回数
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 件の賞賛