V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
blackbeardd
V2EX  ›  问与答

centos 上用 ss 客户端,报错没有 liblibsodium.a 文件

  •  
  •   blackbeardd · 2022-10-20 13:33:15 +08:00 · 918 次点击
    这是一个创建于 525 天前的主题,其中的信息可能已经有所发展或是发生改变。
    https://imgur.com/a/GEMaiFJ
    这种情况是得安装什么东西啊?
    3 条回复    2023-07-16 12:39:21 +08:00
    novolunt
        1
    novolunt  
       2022-10-20 14:24:47 +08:00
    现在的 ss 的代码主线是 rust 版本,喜欢 golang 的版本也可以用 golang 的,c 版本的依赖多,已经弃了。
    https://github.com/shadowsocks/shadowsocks-rust
    https://github.com/shadowsocks/go-shadowsocks2

    ===
    Bug-fix-only libev port of shadowsocks. Future development moved to shadowsocks-rust
    JohnBull
        2
    JohnBull  
       2022-10-20 15:50:00 +08:00
    安装 rust 版本一下拉出 294 个包.
    虽然但是,结论是"c 版本的依赖多"......
    wangjinjinjin0
        3
    wangjinjinjin0  
       256 天前
    apt-get install build-essential
    wget https://github.com/jedisct1/libsodium/releases/download/1.0.18-RELEASE/libsodium-1.0.18.tar.gz
    tar -xvf libsodium-1.0.18.tar.gz && cd libsodium-1.0.18
    ./configure && make -j && make install
    ldconfig

    #liblibsodium.a 找不到,作一个软链接
    ln -s /usr/local/lib/libsodium.a /usr/local/lib/liblibsodium.a
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   960 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 108ms · UTC 20:36 · PVG 04:36 · LAX 13:36 · JFK 16:36
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.