gpt4 book ai didi

ubuntu - u-boot/lib/ld-linux-armhf.so.3 : No such file or directory

转载 作者:太空宇宙 更新时间:2023-11-03 16:50:33 24 4
gpt4 key购买 nike

我的机器是 Ubuntu 16.04.3 LTS x86_64。我确实编译了 u-boot-2017.11,但出现了错误。

u-boot-2017.11$ export ARCH=arm

u-boot-2017.11$ export CROSS_COMPILE=/opt/toolchains/gcc-linaro-4.9.4-2017.01-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-

u-boot-2017.11$ make geekbox_defconfig
HOSTCC scripts/basic/fixdep
/lib/ld-linux-armhf.so.3: No such file or directory
scripts/Makefile.host:99: recipe for target 'scripts/basic/fixdep' failed
make[1]: *** [scripts/basic/fixdep] Error 255
Makefile:399: recipe for target 'scripts_basic' failed
make: *** [scripts_basic] Error 2

我尝试查找并安装丢失的包,但它已准备就绪。

u-boot-2017.11$ dpkg -S ld-linux-armhf.so
libc6-armhf-cross: /usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.3

u-boot-2017.11$ sudo apt-get install libc6-armhf-cross
Reading package lists... Done
Building dependency tree
Reading state information... Done
libc6-armhf-cross is already the newest version (2.23-0ubuntu3cross1).
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.

我该如何解决?请。

最佳答案

安装 libc6-armhf-cross 之后

sudo ln -s/usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.3/usr/lib/ld-linux-armhf.so.3 或更新库路径

关于ubuntu - u-boot/lib/ld-linux-armhf.so.3 : No such file or directory,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47787562/

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