我最近在 Ubuntu 18.10 (Cosmic Cuttlefish) 上安装了 ARM GCC 工具链,sudo apt-get install gcc-arm-none-eabi并尝试运行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
Run Code Online (Sandbox Code Playgroud)
我尝试使用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, for GNU/Linux 2.6.24, BuildID[sha1]=340c78388950836989ecda5c89474e1bf7b03820, stripped
我可以从这里尝试什么?
小智 10
我在 Kubuntu 19.10 安装上可以正常工作:
apt install libncurses5
Run Code Online (Sandbox Code Playgroud)
不安装“-dev”、开发版或“:i386”、32 位版本的库。
| 归档时间: |
|
| 查看次数: |
15414 次 |
| 最近记录: |