blackbeardd
V2EX  ›  问与答

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

  •  
  •   blackbeardd · Oct 20, 2022 · 1817 views
    This topic created in 1391 days ago, the information mentioned may be changed or developed.
    https://imgur.com/a/GEMaiFJ
    这种情况是得安装什么东西啊?
    3 replies    2023-07-16 12:39:21 +08:00
    novolunt
        1
    novolunt  
       Oct 20, 2022
    现在的 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  
       Oct 20, 2022
    安装 rust 版本一下拉出 294 个包.
    虽然但是,结论是"c 版本的依赖多"......
    wangjinjinjin0
        3
    wangjinjinjin0  
       Jul 16, 2023
    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
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3080 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 13:16 · PVG 21:16 · LAX 06:16 · JFK 09:16
    ♥ Do have faith in what you're doing.