imgtec-riscv / catapult-sdk

Imagination Technologies Catapult SDK RISC-V Software Development Kit
Other
9 stars 0 forks source link

gdb library dependency problem on RedHat #11

Open WiseCrohn opened 1 month ago

WiseCrohn commented 1 month ago

Describe the bug riscv64-img-elf-gdb within the SDK has a library dependency on python 3.9 which may not be met on all systems

SDK version 2024.2.1

To Reproduce Run: riscv64-img-elf-gdb --version

If python 3.9 is not installed, an error will be seen of the form: riscv64-img-elf-gdb: error while loading shared libraries: libpython3.9.so.1.0: cannot open shared object file: No such file or directory

Workaround is to install python 3.9, e.g. using sudo yum install python39.x86_64

Host OS (please complete the following information):

WiseCrohn commented 1 month ago

Python 3 is bundled with the SDK, and normally this library dependency would be met using the bundled python. However in this instance python 3.8 has been bundled whereas the dependency is on 3.9. This will be resolved for next release.