haulm 发表于 2010-6-17 17:48:34

tor 打包时依赖好象不对吧,为什么用等于某版本号

安装某包需要更新libevent,但打包后无法安装。
error: Failed dependencies:
      libevent = 1.4.9 is needed by (installed) tor-0.2.1.19-1mgc.i686

sejishikong 发表于 2010-6-18 09:07:16

因为原来tor曾经依赖于特定版本的libevent,不清楚现在还是不是。

haulm 发表于 2010-6-18 10:48:24

好象是编译新版本的PHP需要
# rpm -qa|grep libevent
libevent-devel-1.4.9-1mgc25.i686
libevent-1.4.9-1mgc25.i686
更新后
# rpm -qa|grep libevent
libevent-devel-1.4.13-1mgc25.i686
libevent-1.4.13-1mgc25.i686

rpm -Uvh tor-0.2.1.19-2mgc.i686.rpm --force
Preparing...                ###########################################
tor (pid 11632) running
Stopping tor: /usr/bin/torctl stop: tor stopped
[确定]
   1:tor                  ###########################################
Starting tor: Jun 18 10:46:58.442 Tor v0.2.1.19. This is experimental software. Do not rely on it for strong anonymity. (Running on Linux i686)
Jun 18 10:46:58.444 Initialized libevent version 1.4.13-stable using method epoll. Good.
Jun 18 10:46:58.444 Opening Socks listener on 127.0.0.1:9050
/usr/bin/torctl start: tor started
[确定]
页: [1]
查看完整版本: tor 打包时依赖好象不对吧,为什么用等于某版本号