Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Aug 2004 21:47:16 +0200
From:      Clement Laforet <clement@FreeBSD.org>
To:        Lev Serebryakov <lev@FreeBSD.org>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: Re[8]: subversion broken with apache2 now in ports
Message-ID:  <20040802214716.01825c9a.clement@FreeBSD.org>
In-Reply-To: <19110209356.20040802220200@serebryakov.spb.ru>
References:  <1089144293.1173.4.camel@server.mcneil.com> <1089267033.77359.6.camel@server.mcneil.com> <1842352588.20040728224420@serebryakov.spb.ru> <20040730190448.0b96935b.clement@FreeBSD.org> <245965185.20040802000204@serebryakov.spb.ru> <1091408041.43522.7.camel@server.mcneil.com> <1251081119.20040802200513@serebryakov.spb.ru> <1091464152.51108.4.camel@server.mcneil.com> <19110209356.20040802220200@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Mon__2_Aug_2004_21_47_16_+0200_G8vRYFBpOp6gr6gv
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Mon, 2 Aug 2004 22:02:00 +0400
Lev Serebryakov <lev@FreeBSD.org> wrote:

Hi!

> SM> I'm sorry, it is libapr-0.so.9.  I improperly recalled seeing a
> SM> message about webdav or somesuch.  That must have been another
> SM> problem that was my fault.  Does this mean I can remove the
> SM> /etc/ld-elf.so.conf that has/usr/local/lib/apache2 in it and svn
> SM> will still work?
>  If subversion was builded with WITH_APACHE_APR (or WITH_MOD_WEBDAV),
>  answer is 'NO'. And it is current problem.
>   Subversion ALWAYS uses libapr, and if it uses apache2's one, here
>   are problem, intorduced by apache2's maintainer, when he decided to
>   put `libapr' from apache not to ${PREFIX}/lib.

I never decided that. apr has been in ${PREFIX}/lib/apache2 for ages,
have a look at config.layout file in apache2 tarball, you'll see it's
default layout (currently used). LD_LIBRARY_PATH is set at runtime (see
below).

Discussed error is:
Starting apache2.
Syntax error on line 284 of /usr/local/etc/apache2/httpd.conf:
Cannot load /usr/local/libexec/apache2/mod_dav_svn.so into server:
Shared object "libaprutil-0.so.9" not found, required by
"libsvn_repos-1.so.0"

As you said previously, error appeared "around apache2-2.0.49!" to be
more precise: apache-2.0.49_2, when I introduced apache2 RCng startup
script. Previous script used apachectl to start apache2, new one start
directly httpd.
I forgot to add (I committed yesterday this missing part):
if test -f /usr/local/sbin/envvars; then
  . /usr/local/sbin/envvars
fi

which sets LD_LIBRABRY_PATH. No more change between 2.0.49 and 2.0.50.
All previous behaviour was done at run time.

To answer you previous question about what may imply a move from
${PREFIX}/lib/apache2 to ${PREFIX}/lib. AFAIK, no port should be
affected. But I'm a little bit (too much?) reticent to make apr/apache2
ports conflict.
It's a dilemna, and I don't know which choice is the best.

clem

--Signature=_Mon__2_Aug_2004_21_47_16_+0200_G8vRYFBpOp6gr6gv
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFBDppGsRhfjwcjuh0RAvsKAKCqpmDboqeufVCTA2GrvQxWmGzNgwCg8Jjr
ZZ0eEiLGmzW6IN0r0skB+TA=
=u0VQ
-----END PGP SIGNATURE-----

--Signature=_Mon__2_Aug_2004_21_47_16_+0200_G8vRYFBpOp6gr6gv--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040802214716.01825c9a.clement>