安装完neon后安装SVN1.4.6,执行make命令时,一直报could not read symbols: Bad value这个错误。看了无数帖子,终于看到一个靠谱的http://www.wandisco.com/svnforum/forum/opensource-subversion-forums/general-setup-and-troubleshooting/linux-unix-servers/1774-make-error-libneon-a-could-not-read-symbols-bad-value,解决了问题。
解决方案就是在配置neon时,一定要添加-enable-shared参数,如下:
1. 安装neon
# tar xvf neon-0.26.4.tar.gz (注意不是zxvf)
# cd neon-0.26.4
# ./configure --prefix=/usr/local/neon --with-ssl=openssl --enable-shared (一定要加--enable-shared)
# make && make install
2. 然后安装SVN就不报错了
#cd subversion-1.4.6
# ./configure --prefix=/usr/local/svn --with-apxs=/usr/local/apache/bin/apxs --with-apr=/usr/local/apache/bin/apr-1-config --with-apr-util=/usr/local/apache/bin/apu-1-config --with-neon=/usr/local/neon
# make && make install