编译subversion时出现如下错误:

libsvn_ra_neo n-1.so undefined reference to `SSL_SESSION_cmp'

error 1

解决办法:

1、  http://www.webdav.org/neon下载最新版本neon-0.29.3,并将其单独安装到/usr/neon

2、  进入subversion目录,将serf目录删除;

3、  ./configure --prefix=/usr/local/svn --with-apxs=/usr/local/apache/bin/apxs --with-apr=/usr/local/apr/bin/apr-1-config --with-apr-util=/usr/local/apr/bin/apu-1-config --with-ssl --with-neon=/usr/neon --enable-maintainer-mode

4、  make && make install