shadowsocks / shadowsocks-libev

Bug-fix-only libev port of shadowsocks. Future development moved to shadowsocks-rust
https://github.com/shadowsocks/shadowsocks-rust
GNU General Public License v3.0
15.81k stars 5.69k forks source link

openSUSE 42.1 can not installed with zypper. #545

Closed zw963 closed 8 years ago

zw963 commented 8 years ago

Seem like system bundled repo not include this package.

$  zypper search shadowscokets
Loading repository data...
Reading installed packages...
No packages found.

And another prolbem:

Please specify --enable-system-shared-lib. This will replace the bundled libev, libsodium and libudns >> with the corresponding libraries installed in the system during compilation and linking.

Should I specify this configure options when I compile package? If use this options, will got better performance or not?

thanks.

madeye commented 8 years ago

https://github.com/shadowsocks/shadowsocks-libev#opensuse

zw963 commented 8 years ago

嘿,我直接用中文吧, 表达的清楚些。谢谢。

openSUSE 42.1

$ zypper install shadowsocks-libev
Loading repository data...
Reading installed packages...
'shadowsocks-libev' not found in package names. Trying capabilities.
No provider of 'shadowsocks-libev' found.
Resolving package dependencies...

Nothing to do.

通过 zypper 无法安装 shadowsocks-libev, 事实上,通过上面的 zypper search 命令, 找不到任何存在 shadowsocks-libev 关键字的包,我怀疑, 你这里是不是维护了一个 第三方 repo?

zw963 commented 8 years ago

在 centos 和 opensuse 下,编译时,除了基本的编译支持以外,只需要安装 openssl-devel, 貌似就可以编译成功并使用, 我并没有添加 --enable-system-shared-lib, 我想咨询下, 设个选项是否有必要, 是否对网络性能产生影响?

hosiet commented 8 years ago

--enable-system-shared-lib选项只在打包时候有用,目的是剥离静态链接的第三方库,使用动态链接库。换言之如果不知道选项的作用,就没有必要使用。

zw963 commented 8 years ago

谢谢,问题已解决。

虽然,我还是不知道如何通过 zypper 安装预编译好的包, 没发现跟这个有关的 repo. 我自己 VPS 上是用编译的包的。

dheminsgi commented 8 years ago

Maybe your should check if the 'home:MargueriteSu' repo was contained in your OpenSUSE.

$ sudo zypper refresh
正在撷取软件源 'home:MargueriteSu' 的元数据 .....................................................................[完毕]
正在构建“home:MargueriteSu”储存库超速缓存 .......................................................................[完毕]
软件源 'openSUSE:Tumbleweed' 是最新的。                                                                                
软件源 'openSUSE-42.1-0' 是最新的。                                                                                    
软件源 'openSUSE-Leap-42.1-Oss' 是最新的。                                                                             
正在撷取软件源 'openSUSE-Leap-42.1-Update' 的元数据 .............................................................[完毕]
正在构建“openSUSE-Leap-42.1-Update”储存库超速缓存 ...............................................................[完毕]
正在撷取软件源 'openSUSE-Leap-42.1-Update-Non-Oss' 的元数据 .....................................................[完毕]
正在构建“openSUSE-Leap-42.1-Update-Non-Oss”储存库超速缓存 .......................................................[完毕]
全部软件源均已刷新。

$ zypper search shadowsocks
正在加载软件源数据...
正在读取已安装的软件包...

S | 名称                    | 摘要                                           | 类型    
--+-------------------------+------------------------------------------------+---------
  | libQtShadowsocks        | A Shadowsocks library written in C++/Qt5       | 源代码包
  | libQtShadowsocks-devel  | Development headers for libQtShadowsocks       | 软件包  
i | libQtShadowsocks1       | A Shadowsocks library written in C++/Qt5       | 软件包  
  | shadowsocks-go          | Go port of shadowsocks                         | 软件包  
  | shadowsocks-go          | Go port of shadowsocks                         | 源代码包
i | shadowsocks-libev       | Libev port of Shadowsocks                      | 软件包  
  | shadowsocks-libev       | Libev port of Shadowsocks                      | 源代码包
  | shadowsocks-libev-devel | Development headers for shadowsocks-libev      | 软件包  
i | shadowsocks-qt5         | A Native Cross-Platform GUI Shadowsocks Client | 软件包  
  | shadowsocks-qt5         | A Native Cross-Platform GUI Shadowsocks Client | 源代码包
zw963 commented 8 years ago

谢谢, 建议写到 README 上面。