[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: relink `libsvn_ra_dav-1.la'

From: Kyle George <kgeorge_at_tcpsoft.com>
Date: 2006-11-13 01:20:44 CET

On Mon, 13 Nov 2006, supportsobaka@mail.ru wrote:

> Problem with compile subversion-1.4.2 on freebsd 5.4
>
> ------------
> /usr/bin/install -c -d /usr/local/subversion/lib
> cd subversion/libsvn_ra_dav ; /bin/bash /usr/local/subversion-1.4.2/libtool --mode=install /usr/bin/install -c libsvn_ra_dav-1.la /usr/local/subversion/lib/libsvn_ra_dav-1.la
> libtool: install: warning: relinking `libsvn_ra_dav-1.la'

I've seen this before. I bet configure is deriving your LDFLAGS to
contain something like LDFLAGS="-L/usr/local/lib -L/usr/local/lib/" (note
the duplicate paths). Try setting LDFLAGS=-L/usr/local/lib (or something
similar for your platform) before building.

> (cd /usr/local/subversion-1.4.2/subversion/libsvn_ra_dav; /bin/bash /usr/local/subversion-1.4.2/libtool --tag=CC --silent --mode=relink gcc -g -O2 -g -O2 -L/usr/local/lib -rpath /usr/local/subversion/lib -o libsvn_ra_dav-1.la commit.lo fetch.lo file_revs.lo log.lo merge.lo options.lo props.lo replay.lo session.lo util.lo ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la /etc/httpd/lib/libaprutil-0.la -lexpat /etc/httpd/lib/libapr-0.la -lm -lcrypt /usr/local/lib/libneon.la -lintl -lz )
> /usr/bin/ld: cannot find -lexpat

Do you have libexpat installed?

> libtool: install: error: relink `libsvn_ra_dav-1.la' with the above command before installing it

Search the archives for BSD compilation / linking problems. You might
need to remove existing libsvn* binaries before building subversion on the
BSDs. I have to do this on OpenBSD.

-- 
Kyle George
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 13 01:21:27 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.