This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

gcc-arm-11.2-2022.02-x86_64-arm-none-eabi gdb FAILS on ubuntu

Hi,

I downloaded gcc-arm-11.2-2022.02-x86_64-arm-none-eabi.tar.xz from https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/downloads.

Unpacked the tar into my home folder. When I then run

```

p@bp-legion:~/Downloads/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi/bin$ ./arm-none-eabi-gdb --version
./arm-none-eabi-gdb: error while loading shared libraries: libpython3.6m.so.1.0: cannot open shared object file: No such file or directory

```

I got this AFTER being forced to `ln`

- /usr/lib/x86_64-linux-gnu/libncursesw.so.6

- /usr/lib/x86_64-linux-gnu/libtinfo.so.6

I didn't graduate on linux, did I miss "the easy way" to get the arm toolchain working on my ubuntu installation?

I can't imagine that I am the first to install the arm toolchain on a fresh installed ubuntu 22.04 environment......

Parents
  • Thank you for pointing out the issues around python incompatibility.

    For Ubuntu 20.04, Python 3.6 could be installed through the PPA route as mentioned in https://bugs.linaro.org/show_bug.cgi?id=5842#c1, however, this might not work for Ubuntu 22.04.

    For the next release, we are working on updating the version of Python that is used in GDB, so that there will be better compatibility for the newer linux distros. Following on from that, we do want to take a look at other approaches, such as the two binary approach or static linking approach, to improve on the compatibility.

Reply
  • Thank you for pointing out the issues around python incompatibility.

    For Ubuntu 20.04, Python 3.6 could be installed through the PPA route as mentioned in https://bugs.linaro.org/show_bug.cgi?id=5842#c1, however, this might not work for Ubuntu 22.04.

    For the next release, we are working on updating the version of Python that is used in GDB, so that there will be better compatibility for the newer linux distros. Following on from that, we do want to take a look at other approaches, such as the two binary approach or static linking approach, to improve on the compatibility.

Children