openwrt 更新openclash后无法启动解决办法

生活 · 2020-10-18

openclash v0.40.10-beta版本以后增加了两个依赖libcap, libcap-bin

如果系统里面没有这两个依赖会导致无法启动,系统提示如下

2020-10-18 18:23:08 Error: Could Not Load The Capsh Library, Please Verify The Capsh Shell Library Work Well
2020-10-18 18:23:08 Tip: You Could Download And Re-Install The libcap & libcap-bin Library From The Address Below:

解决办法

ssh登录路由执行

opkg update
opkg install libcap
opkg install libcap-bin
  1. Sean (作者)  2023-02-23
    @peak

    我上面不是已经写了解决方案了吗

  2. peak 2022-12-15
    @二甲

    我是第一次在openwrt里,要安装openclash,遇到和您一样的问题:
    * opkg_install_cmd: Cannot install package libcap-bin.
    求解答

  3. Sean (作者)  2021-01-30
    @二甲

    换个源,可能是你的源无法更新

  4. 二甲 2021-01-03

    Unknown package 'libcap-bin'.
    Collected errors:
    * opkg_install_cmd: Cannot install package libcap-bin.

    还是会提示有问题

Theme Jasmine by Kent Liao