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

Re: [PATCH] On the 'ra-git' branch: update to libgit2 v0.22

From: Carlos Martín Nieto <cmn_at_elego.de>
Date: Wed, 01 Apr 2015 13:38:19 +0200

On Tue, 2015-03-31 at 12:25 +0100, Julian Foad wrote:
> On 31 March 2015 at 12:19, Julian Foad <julianfoad_at_btopenworld.com> wrote:
> > I wanted to commit this, but first I tried to build it and I'm getting
> > link failure on Linux
>
> Of course you want to see the specifics of the link failure.
>
> [[[
> Start -- /home/julianfoad/src/subversion-p/configure
> --enable-maintainer-mode --prefix=/home/julianfoad/.local/subversion-p
> --disable-static
> --with-ruby-sitedir=/home/julianfoad/.local/subversion-p/site_ruby
> --with-apache-libexecdir=/home/julianfoad/.local/subversion-p/lib/apache2/modules
> --disable-mod-activation --with-serf=/usr
> --with-sqlite=/home/julianfoad/src/sqlite-amalgamation-3071300/sqlite3.c
> --with-berkeley-db=db.h:::db --with-gnome-keyring --with-apr=/usr
> --with-apr-util=/usr --with-ctypesgen=/usr/local/bin --enable-javahl
> --with-junit=/usr/share/java/junit4.jar
> --with-jdk=/usr/lib/jvm/default-java
> --with-libgit2=/home/julianfoad/.local/libgit2-0.20.0

...

> ../../subversion/libsvn_client/libsvn_client-1.la
> ../../subversion/libsvn_wc/libsvn_wc-1.la
> ../../subversion/libsvn_ra/libsvn_ra-1.la
> ../../subversion/libsvn_delta/libsvn_delta-1.la
> ../../subversion/libsvn_diff/libsvn_diff-1.la
> ../../subversion/libsvn_subr/libsvn_subr-1.la
> -L/usr/lib/x86_64-linux-gnu -laprutil-1 -L/usr/lib/x86_64-linux-gnu
> -lapr-1
> /usr/bin/ld: warning: libgit2.so.0, needed by
> //nobackup/home/julianfoad/build/subversion-p/subversion/libsvn_ra_git/.libs/libsvn_ra_git-1.so.0,
> not found (try using -rpath or -rpath-link)

Interesting. I can reproduce this on Debian Sid and Wheezy (unsable and
stable resp), but it builds fine with OS X Mavericks. The only changes
would be on the system tools, but I'm not sure what's changed; ld is
from 2011 on Wheezy and libtool is also from 2011 on both.

It also builds fine if libgit2 is installed in /usr/local/ (just tested
with 0.22) so it looks like the looking for the library elsewhere is the
bit that's not working.

   cmn
Received on 2015-04-01 13:39:09 CEST

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

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