buildroot交叉编出错You seem to have the current working directory in your LD_LIBRARY_PATH environment

本文详细介绍了在使用Buildroot进行交叉编译时遇到的一个常见错误:当前工作目录出现在LD_LIBRARY_PATH环境变量中,导致依赖构建失败。文章提供了具体的解决步骤,即通过sudo权限重新运行make命令来修复该问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

buildroot交叉编译出现如下错误的时候:

You seem to have the current working directory in your
LD_LIBRARY_PATH environment variable. This doesn't work.
support/dependencies/dependencies.mk:21: recipe for target 'dependencies' failed
make[1]: *** [dependencies] Error 1
Makefile:84: recipe for target '_all' failed
make: *** [_all] Error 2

解决最有效的办法是:$ sudo make

评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值