18

海思Hi3516-toolchains安装好了,但是提示bash: /opt/hisi-linux/x86-arm/arm-himix20...

 4 years ago
source link: https://blog.popkx.com/bash-opt-hisi-linux-x86-arm-arm-himix200-linux-bin-arm-himix200-linux-g-No-such-file-or-directory/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

海思Hi3516-toolchains安装好了,但是提示bash: /opt/hisi-linux/x86-arm/arm-himix200-linux/bin/arm-himix200-linux-g++: No such file or directory

发表于 2020-05-12 15:05:00   |   已被 访问: 617 次   |   分类于:   系统部署   |   暂无评论

今天安装海思的 Hi3516 工具链,发现一个奇怪的问题:

$ ls /opt/hisi-linux/x86-arm/arm-himix200-linux/bin/arm-himix200-linux-g++
arm-himix200-linux-g++

可以看出,明明该目录下有此编译器,但是真的执行时发现报错:

$ arm-himix200-linux-g++
bash: /opt/hisi-linux/x86-arm/arm-himix200-linux/bin/arm-himix200-linux-g++: No such file or directory

这可能是因为我的机器是 64 位的,而 Hi3516 的工具链是 32 位的,因此安装下面这个库:

$ sudo apt install lib32z1-dev

发现问题解决。

阅读更多:   系统部署


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK