ideallorn

统计

最新评论

RH64位系统上编译安装SVN

SVN在RH32位系统上通常按照常规的方法很容易编译通过,但到了64位系统上却经常会出现等链接错误

subversion-1.4.5/neon/src/.libs/libneon.a: could not read symbols: Bad value

collect2: ld returned 1 exit status

Google了一下,找到如下解决方法

1. 解压两个包后
$ tar jxvf subversion-1.4.5.tar.bz2 .
$ tar jxvf subversion-deps-1.4.5.tar.bz2 .

2. 分别编译 apr,apr-util, neon (一样的configure 选项)
cd apr
./configure --prefix=$HOME --without-berkeley-db --with-editor=/usr/bin/vim --with-apr=$HOME --with-apr-util=$HOME --with-neon=$HOME --without-apxs --without-apache --enable-shared --with-ssl
make && make install
...
3. 最后再编译svn
./configure --prefix=$HOME --without-berkeley-db --with-editor=/usr/bin/vim --with-apr=$HOME --with-apr-util=$HOME --with-neon=$HOME --without-apxs --without-apache --enable-shared --with-ssl
make && make install


posted on 2009-02-20 11:40 releng 阅读(636) 评论(0)  编辑 收藏 引用 所属分类: Linux/FreeBSD Sys Admin

只有注册用户登录后才能发表评论。