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

Re: Could not open the root of the repository [500, #22]

From: Sanjaya Vitharana <sanjaya_at_wavenet.lk>
Date: 2007-09-10 12:21:18 CEST

Correct, They are pointing to the different libraries, see below

[root@vm_linux subversion-1.4.5]# ldd /usr/local/apache2/bin/httpd | grep
apr
        libaprutil-1.so.0 => /usr/local/apache2/lib/libaprutil-1.so.0
(0x4004a000)
        libapr-1.so.0 => /usr/local/apache2/lib/libapr-1.so.0 (0x4007d000)
[root@vm_linux subversion-1.4.5]#
[root@vm_linux subversion-1.4.5]# ldd
/usr/local/apache2/modules/mod_dav_svn.so | grep apr
        libaprutil-0.so.0 => /usr/local/apr/lib/libaprutil-0.so.0
(0x4009c000)
        libapr-0.so.0 => /usr/local/apr/lib/libapr-0.so.0 (0x400cf000)
[root@vm_linux subversion-1.4.5]#

Anyway Now I have some more questions:
1.) How to find the versions of both libraries above?
2.) And why Subversion itself not select the correct version ?

Anyway configuring Subversion as below solved the problem
./configure --with-apxs=/usr/local/apache2/bin/apxs --with-apr=/usr/local/ap
ache2 --with-apr-util=/usr/local/apache2

Thanks in advanced.

Sanjaya Vitharana

----- Original Message -----
From: "Erik Huelsmann" <ehuels@gmail.com>
To: "Rainer Sokoll" <R.Sokoll@intershop.de>; <users@subversion.tigris.org>
Sent: Monday, 10 September 2007 03:00 pm
Subject: Re: Could not open the root of the repository [500, #22]

> On 9/10/07, Rainer Sokoll <R.Sokoll@intershop.de> wrote:
> > On Mon, Sep 10, 2007 at 02:31:24PM +0530, Sanjaya Vitharana wrote:
> >
> > > > If you have apache 2.2.x, use apr1 in subversion, otherwise use
apr0.
> > > How ? As my little knowledge with svn, apr comes with
> > > subversion-deps-1.4.5.tar.gz so I used it (see below)
> >
> > AFAIK, that's correct.
> > Just to be sure: do an ldd on both httpd and mod_dav_svn.so and grep
> > for apr. Do they point to the same libapr?
>
> They probably don't as he uses Apache 2.2.4.
>
> Sanjaya, you should link to the APR which comes with Apache instead of
> the one which comes with Subversion: already-installed software should
> take precedence over the -deps supplied versions 99% of the time.
> (Where APR is installed by Apache, meaning pre-installed before
> building Subversion.)
>
> bye,
>
> Erik.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Sep 10 12:19:17 2007

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.