Collected errors: * check_data_file_clashes: Package libustream-openssl wants to install file /home/

OpenWRT编译错误,错误信息:

Collected errors:
* check_data_file_clashes: Package libustream-openssl wants to install file /home/lede/lede/source/build_dir/target-x86_64_musl-1.1.16/root-x86/lib/libustream-ssl.so
    But that file is already provided by package  * libustream-mbedtls
* opkg_install_cmd: Cannot install package libustream-openssl.
package/Makefile:60: recipe for target 'package/install' failed
make[2]: *** [package/install] Error 255
make[2]: Leaving directory '/home/lede/lede/source'
package/Makefile:102: recipe for target '/home/lede/lede/source/staging_dir/target-x86_64_musl-1.1.16/stamp/.package_install' failed
make[1]: *** [/home/lede/lede/source/staging_dir/target-x86_64_musl-1.1.16/stamp/.package_install] Error 2
make[1]: Leaving directory '/home/lede/lede/source'
/home/lede/lede/source/include/toplevel.mk:197: recipe for target 'world' failed
make: *** [world] Error 2

 错误原因分析:

   libustream-openssllibustream-mbedtls这两个组件产生冲突,因此只能二选一。


解决方案: 

1. 首先,进入配置菜单:

make defconfig

2. 在Libraries选项里找到libustream-openssllibustream-mbedtls这两个组件,取消选中其中一个

如图,因为我的libustream-mbedtls被其他组件依赖了,不能取消,因此我把libustream-openssl取消选中。

3. 继续编译:

make -j1 V=s

觉得有用,留下你的赞吧^_^

  • 9
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值