谷动谷力

 找回密码
 立即注册
谷动谷力 首页 嵌入式 查看内容

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

2023-6-7 14:30| 发布者: sunsili| 查看: 429| 评论: 0|原作者: sunsili

摘要: 【openwrt】openwrt编译libustream-openssl出错 解决 今天编译openwrt时,新包:libustream-openssl 【现象】 编译出错 Collected errors: * check_data_file_clashes: Package libustream-openssl20201210 wants . ...
【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 二选一
openssl.png
我的选择是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)



鲜花

握手

雷人

路过

鸡蛋

相关阅读

发表评论

最新评论

最新热点

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

GMT+8, 2024-4-15 20:30 , Processed in 0.089449 second(s), 36 queries .

Powered by Discuz! X3.2 Licensed

© 2001-2013 Comsenz Inc.

返回顶部