gpt4 book ai didi

ubuntu - 消息 "Unable to run arm-none-eabi-gdb: cannot find libncurses.so.5"

转载 作者:太空宇宙 更新时间:2023-11-03 17:05:13 25 4
gpt4 key购买 nike

我最近使用 sudo apt-get install gcc-arm-none-eabi 在 Ubuntu 18.10 (Cosmic Cuttlefish) 上安装了 ARM GCC 工具链,并尝试运行 arm-none-eabi -gdb.

每当我尝试运行它时,我都会收到以下错误:

arm-none-eabi-gdb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

我尝试使用 sudo apt-get install libncurses5-dev libncursesw5-dev 安装 libncurses - 库安装成功,但我仍然遇到同样的问题。

我还检查以确保文件是 64 位的:arm-none-eabi-gdb: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter/lib64/ld-linux-x86-64.so.2,用于 GNU/Linux 2.6.24,BuildID[sha1]=340c783888950836989ecda5c89474e1bf7b03820,剥离

我可以从这里尝试什么?

最佳答案

我让它在 Kubuntu 19.10 安装上运行:

apt install libncurses5

不安装库的 32 位版本“-dev”、开发版或“:i386”。

关于ubuntu - 消息 "Unable to run arm-none-eabi-gdb: cannot find libncurses.so.5",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53450745/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com