SVN在RH32位系统上通常按照常规的方法很容易编译通过,但到了64位系统上却经常会出现等链接错误
subversion-1.4.5/neon/src/.libs/libneon.a: could not read symbols: Bad valuecollect2: ld returned 1 exit statusGoogle了一下,找到如下解决方法
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