immortalwrt / packages

Community maintained packages for ImmortalWrt.
GNU General Public License v2.0
149 stars 236 forks source link

最新源码本地编译OpenClash出现问题,无法更新插件无法安装内核,收到下载安装内核也不能成功运行 #1334

Closed ali2liu closed 1 week ago

ali2liu commented 1 week ago

Describe the bug

OpenClash内核日志: 2024-09-20 10:35:39【/tmp/china_domains.list】下载失败:【curl: (1) Protocol "https" not supported】 2024-09-20 10:35:39【/tmp/china_ip6_route.txt】下载失败:【curl: (1) Protocol "https" not supported】 2024-09-20 10:35:39【/tmp/china_ip_route.txt】下载失败:【curl: (1) Protocol "https" not supported】 2024-09-20 10:35:37【/tmp/openclash_last_version】下载失败:【curl: (1) Protocol "https" not supported】 2024-09-20 10:35:30【/tmp/openclash_last_version】下载失败:【curl: (1) Protocol "https" not supported】 2024-09-20 10:35:27【/tmp/openclash_last_version】下载失败:【curl: (1) Protocol "https" not supported】 2024-09-20 10:35:27【/tmp/clash_last_version】下载失败:【curl: (1) Protocol "https" not supported】 2024-09-20 10:35:24【/tmp/openclash_last_version】下载失败:【curl: (1) Protocol "https" not supported】

查看curl情况: root@ImmortalWrt:~# curl -V curl 8.10.1 (x86_64-openwrt-linux-gnu) libcurl/8.10.0 Release-Date: 2024-09-18 Protocols: mqtt Features: IPv6 Largefile threadsafe WARNING: curl and libcurl versions do not match. Functionality may be affected. root@ImmortalWrt:~#

ImmortalWrt version

ImmortalWrt SNAPSHOT r31680-4fb4c70851

ImmortalWrt release

ImmortalWrt SNAPSHOT r31680-4fb4c70851

ImmortalWrt target/subtarget

ImmortalWrt SNAPSHOT r31680-4fb4c70851

Device

x86_64软路由

Image kind

Official downloaded image

Steps to reproduce

No response

Actual behaviour

No response

Expected behaviour

No response

Additional info

No response

Diffconfig

No response

Terms

ali2liu commented 1 week ago

在线的libcurl4版本不对,无法安装。将本地编译出来的libcurl4_8.10.1-r1_x86_64.ipk强行安装,libcurl4从8.10.0升级到了8.10.1,解决了版本不一致的问题。 root@ImmortalWrt:~# curl -V curl 8.10.1 (x86_64-openwrt-linux-gnu) libcurl/8.10.1 OpenSSL/3.0.15 nghttp2/1.62.1 Release-Date: 2024-09-18 Protocols: file ftp ftps http https ipfs ipns mqtt tftp Features: alt-svc AsynchDNS HSTS HTTP2 HTTPS-proxy IPv6 Largefile SSL threadsafe TLS-SRP UnixSockets root@ImmortalWrt:~#

1715173329 commented 1 week ago

那是你的编译环境有问题。