Closed zw963 closed 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?
在 centos 和 opensuse 下,编译时,除了基本的编译支持以外,只需要安装 openssl-devel, 貌似就可以编译成功并使用, 我并没有添加 --enable-system-shared-lib, 我想咨询下, 设个选项是否有必要, 是否对网络性能产生影响?
--enable-system-shared-lib
选项只在打包时候有用,目的是剥离静态链接的第三方库,使用动态链接库。换言之如果不知道选项的作用,就没有必要使用。
谢谢,问题已解决。
虽然,我还是不知道如何通过 zypper 安装预编译好的包, 没发现跟这个有关的 repo. 我自己 VPS 上是用编译的包的。
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 | 源代码包
谢谢, 建议写到 README 上面。
Seem like system bundled repo not include this package.
And another prolbem:
Should I specify this configure options when I compile package? If use this options, will got better performance or not?
thanks.