谷动谷力

 找回密码
 立即注册
查看: 1616|回复: 0
打印 上一主题 下一主题
收起左侧

【openwrt】openwrt内核编译libustream-openssl出错 解决

[复制链接]
跳转到指定楼层
楼主
发表于 2023-6-7 14:24:40 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 sunsili 于 2023-6-23 19:30 编辑

【openwrt】openwrt编译libustream-openssl出错 解决

今天编译openwrt时,新包:libustream-openssl

【现象】
编译出错
Collected errors:
* check_data_file_clashes: Package libustream-openssl20201210 wants to install file /home/fan/openwrt_21.02.0_mt76x8_jotale_source/build_dir/target-mipsel_24kc_musl/root-ramips/lib/libustream-ssl.so
* opkg_install_cmd: Cannot install package libustream-openssl20201210.
* check_data_file_clashes: Package libustream-openssl20201210 wants to install file /home/fan/openwrt_21.02.0_mt76x8_jotale_source/build_dir/target-mipsel_24kc_musl/root-ramips/lib/libustream-ssl.so
        But that file is already provided by package  * libustream-wolfssl20201210
* opkg_install_cmd: Cannot install package luci-ssl-openssl.
make[2]: *** [package/Makefile:69: package/install] Error 255
make[2]: Leaving directory '/home/fan/openwrt_21.02.0_mt76x8_jotale_source'
make[1]: *** [package/Makefile:109: /home/fan/openwrt_21.02.0_mt76x8_jotale_source/staging_dir/target-mipsel_24kc_musl/stamp/.package_install] Error 2
make[1]: Leaving directory '/home/fan/openwrt_21.02.0_mt76x8_jotale_source'
make: *** [/home/fan/openwrt_21.02.0_mt76x8_jotale_source/include/toplevel.mk:230: world] Error 2


关键信息
* check_data_file_clashes: Package libustream-openssl20201210 wants to install file
……
But that file is already provided by package  * libustream-wolfssl20201210
安装libustream-openssl20201210 时,出错, 已经有安装了libustream-wolfssl20201210

【原因】
libustream-openssl、 libustream-wolfss两个库相冲突。

【解决方法】
make menuconfig
libustream-openssl、 libustream-wolfssl 二选一

我的选择是libustream-openssl,不选 libustream-wolfssl
【弯路】
刚开始为了编译通过我libustream-openssl、 libustream-wolfssl都不勾选
如果libustream-openssl、 libustream-wolfssl都不勾选的话,相关需依赖openssl应用将不能用,如opkg
opkg update
Downloading https://downloads.openwrt.org/re ... ackages/Packages.gz
wget: SSL support not available, please install one of the libustream-.*[ssl|tls] packages as well as th                                                                                                                                e ca-bundle and ca-certificates packages.
*** Failed to download the package list from https://downloads.openwrt.org/releases/21.02.0/targets/rami                                                                                                                                ps/mt76x8/packages/Packages.gz

Downloading https://downloads.openwrt.org/re ... kc/base/Packages.gz
wget: SSL support not available, please install one of the libustream-.*[ssl|tls] packages as well as th                                                                                                                                e ca-bundle and ca-certificates packages.
*** Failed to download the package list from https://downloads.openwrt.org/releases/21.02.0/packages/mip                                                                                                                                sel_24kc/base/Packages.gz

Downloading https://downloads.openwrt.org/re ... kc/luci/Packages.gz
wget: SSL support not available, please install one of the libustream-.*[ssl|tls] packages as well as th                                                                                                                                e ca-bundle and ca-certificates packages.
*** Failed to download the package list from https://downloads.openwrt.org/releases/21.02.0/packages/mip                                                                                                                                sel_24kc/luci/Packages.gz

Downloading https://downloads.openwrt.org/re ... ackages/Packages.gz
wget: SSL support not available, please install one of the libustream-.*[ssl|tls] packages as well as th                                                                                                                                e ca-bundle and ca-certificates packages.
*** Failed to download the package list from https://downloads.openwrt.org/releases/21.02.0/packages/mip                                                                                                                                sel_24kc/packages/Packages.gz

Downloading https://downloads.openwrt.org/re ... routing/Packages.gz
wget: SSL support not available, please install one of the libustream-.*[ssl|tls] packages as well as th                                                                                                                                e ca-bundle and ca-certificates packages.
*** Failed to download the package list from https://downloads.openwrt.org/releases/21.02.0/packages/mip                                                                                                                                sel_24kc/routing/Packages.gz
【原创】不易,转载请说明出处:【openwrt】openwrt内核编译libustream-openssl出错 解决-谷动谷力 (sunsili.com)






+10
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|深圳市光明谷科技有限公司|光明谷商城|Sunshine Silicon Corpporation ( 粤ICP备14060730号|Sitemap

GMT+8, 2024-4-29 19:37 , Processed in 0.079773 second(s), 43 queries .

Powered by Discuz! X3.2 Licensed

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表