问鼎 发表于 2022-6-15 10:36:54

/lib/ld-linux-aarch64.so.1: No such file or directory

ubantu18.04+qt-4.7.0编译程序报错

10:31:31: Starting /home/wjz/work/program/build-ts-okt507-Release/ts...
/lib/ld-linux-aarch64.so.1: No such file or directory
10:31:31: /home/wjz/work/program/build-ts-okt507-Release/ts exited with code 255

10:31:33: Starting /home/wjz/work/program/build-ts-okt507-Release/ts...
/lib/ld-linux-aarch64.so.1: No such file or directory
10:31:33: /home/wjz/work/program/build-ts-okt507-Release/ts exited with code 255

怎么解决?

香飘飘~~~ 发表于 2022-6-15 16:13:26

用的是我们的开发环境吗?如果是这个原因是找不到相应的动态链接库。尝试一下找到缺少的 so 文件,拷贝到 /lib 下。

问鼎 发表于 2022-6-15 16:35:36

香飘飘~~~ 发表于 2022-6-15 16:13
用的是我们的开发环境吗?如果是这个原因是找不到相应的动态链接库。尝试一下找到缺少的 so 文件,拷贝到 / ...
自己搭建的ubantu,之前能用来,重搞了一次不行了。
拷贝了库后,现在报错
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
qt.qpa.plugin: Could not find the Qt platform plugin "eglfs" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

qemu: uncaught target signal 6 (Aborted) - core dumped
16:34:05: The program has unexpectedly finished.

问鼎 发表于 2022-6-15 17:01:36

香飘飘~~~ 发表于 2022-6-15 16:13
用的是我们的开发环境吗?如果是这个原因是找不到相应的动态链接库。尝试一下找到缺少的 so 文件,拷贝到 / ...

搞定了,谢谢

zzl1984 发表于 2022-8-27 17:01:35

你好!我也是在拷入库文件后报错,报的错误和你一样。请问您是怎么解决的?

zzl1984 发表于 2022-8-27 17:32:52

17:32:26: Starting /home/forlinx/work/OKT507-linux-sdk/platform/framework/auto/qt_demo/build-keypad-okt507-Debug/fltest_qt_keypad...
qemu: Unsupported syscall: 278
qt.qpa.plugin: Could not find the Qt platform plugin "eglfs" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

qemu: uncaught target signal 6 (Aborted) - core dumped
17:32:27: The program has unexpectedly finished.
17:32:27: The process was ended forcefully.
17:32:27: /home/forlinx/work/OKT507-linux-sdk/platform/framework/auto/qt_demo/build-keypad-okt507-Debug/fltest_qt_keypad crashed.

问鼎 发表于 2022-9-6 13:58:13

zzl1984 发表于 2022-8-27 17:01
你好!我也是在拷入库文件后报错,报的错误和你一样。请问您是怎么解决的?

一定要在开发板上运行编译后的程序,不要再虚拟机的系统里跑程序

xiaolongc126 发表于 2022-11-8 16:06:05

怎么解决的?方便说下吗?我卡了好几天,还是解决不了!
页: [1]
查看完整版本: /lib/ld-linux-aarch64.so.1: No such file or directory