shadowsocks / shadowsocks-rust

A Rust port of shadowsocks
https://shadowsocks.org/
MIT License
8.72k stars 1.19k forks source link

Fedora 40 Libsodium.20.23 not found but it's installed. #1676

Closed Wiserrhino closed 2 months ago

Wiserrhino commented 2 months ago

On a new install of Fedora 40 executing ss-server returns this error: ss-server: error while loading shared libraries: libsodium.so.23: cannot open shared object file: No such file or directory

It is clearly installed here: /usr/lib64/libsodium.so.23

But I have no idea how to tell ss-server it's location and I've scoured the internet for hours trying to find a fix that works for Fedora.

I'm in China, so I would really appreciate some help with this. I've successfully installed shadowsocks-electron through snap as a temporary fix, but the connection is intermittent. It craps out frequently and I'd like to get rid of it.

Thanks!

AaronChen0 commented 2 months ago

You are using shadowsocks-libev. You should download executable here for shadowsocks-rust.

zonyitoo commented 2 months ago

shadowsocks-rust doesn't need libsodium. And its binary name is not ss-server. What you are running is shadowsocks-libev, which is https://github.com/shadowsocks/shadowsocks-libev .

Wiserrhino commented 2 months ago

Thank you.