shadowsocks / shadowsocks-qt5

A cross-platform shadowsocks GUI client
GNU Lesser General Public License v3.0
7.97k stars 2.33k forks source link

Botan2-2.7.0 causes shadowsocks-qt5 to fail to start #741

Closed TaoistMo closed 6 years ago

TaoistMo commented 6 years ago

Today, after I performed a system update on my fedora 28, shadowsocks-qt5 could not be started. Using ss-qt5 in the terminal showed that libbotan-2.so.5 was missing, and finally botan was downgraded before returning to normal. Hope to fix this problem

PS:Now it seems that the easier way to solve this problem is to create a soft link to link the missing library files with the latest library files. If you want to solve them perfectly, you need to modify them on the code.

gshen42 commented 6 years ago

Same problem, I have Botan2 library install on my Fedora 28 but the version is libbotan-2.so.7, does the last version number matter?

EDIT: Come up with a workaround, just create a symbol link of libbotan-2.so.7 and name it libbotan-2.so.5.

TaoistMo commented 6 years ago

@gshen42 Hello, I made a soft link according to your supplement, the software seems to work normally, but I don't know if there will be other problems, it is better to fix this problem on the source level.

punkmonday commented 6 years ago

Same problem, fedora28 update to linux4.17.4,then crach. ss-qt5: error while loading shared libraries: libbotan-2.so.5: cannot open shared object file: No such file or directory

TaoistMo commented 6 years ago

@punkmonday The problem is not in the kernel. After the system upgrade, the version of Botan is higher than the version required by ss-qt5. You can create a soft link to libbotan-2.so.5 or return botan to the previous version. I wish you success

punkmonday commented 6 years ago

ln -s /usr/lib64/libbotan-2.so.7 /usr/lib64/libbotan-2.so.5 workaround,thank you!

Triple-Z commented 6 years ago

image

Same problem, hope to fix it soon.

jiqing112 commented 6 years ago

Thank you very much, I also encountered this problem, based on this issue to solve the problem, thank you very much

TaoistMo commented 6 years ago

@jiqing112 不用谢,都是因为有问题才会去找解决方法^_^

jiqing112 commented 6 years ago

我擦自己人阿

jiqing112 commented 6 years ago

其实我是装双系统不小心把windows的引导给覆盖了,进不去windows了 其实我还想问问怎么用ssr不,我在vultr上好像用的秋水大神的脚本一键搭建的ssr,搭建成功也可以上谷歌,在fedora上找客户端愁死了。 试了https://www.jianshu.com/p/a85542348fa2 但是一些参数始终不明白怎么回事

TaoistMo commented 6 years ago

@jiqing112 这个事情直接在聊天软件上讨论好了@v@

jiqing112 commented 6 years ago

解决了。聊天软件上都是吹牛比的,还是得靠自己阿。在正册河蟹之下找一些敏感内容可真不容易 https://github.com/FelisCatus/SwitchyOmega/releases

https://blog.csdn.net/huangbin123/article/details/80826933

https://blog.csdn.net/shouldnotappearcalm/article/details/77900399

suuuummer commented 6 years ago

非常感谢!我也用你的方法解决了问题!

librehat commented 6 years ago

Fedora keeps breaking this.. :( There is no workaround but to trigger a rebuild of the software. I'll make a new build in COPR

librehat commented 6 years ago

Upgrade your Fedora and the symbolic link to .5.so should not be required any longer.