On Mon, Jul 12, 2010 at 12:02:14PM +0200, Stefan Sperling wrote:
> On Mon, Jul 12, 2010 at 11:39:24AM +0200, Onno van der Straaten wrote:
> > I will send the diff file. But now I'm trying to upgrade to rev
> > 963218, the make step fails with
> > 
> > /usr/local/lib/libsvn_diff-1.so.0: undefined reference to
> > `svn_stream_set_line_filter_callback'
> > /usr/local/lib/libsvn_diff-1.so.0: undefined reference to
> > `svn_stream_set_line_transformer_callback'
> > collect2: ld returned 1 exit status
> > make: *** [subversion/svnversion/svnversion] Error 1
> 
> You need to run 'make clean'.

Actually, since the libs are from your installation prefix
rather from the working copy, libtool is picking up the wrong
libraries. So the workaround is to rm /usr/local/lib/libsvn*, then
make clean just to be sure, and rebuild.

You should probably install svn into /usr/local/svn to avoid
this problem (you don't want to try to fix the libtool bug,
believe me, I've tried...)

Reply via email to