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

Re: Error starting apache 2 after loading mod_dav_svn when upgrading to subversion 1.6.6

From: Stefan Sperling <stsp_at_elego.de>
Date: Fri, 11 Dec 2009 11:14:50 +0100

On Thu, Dec 10, 2009 at 12:14:44PM +0100, fida aljounaidi wrote:
> Hello
>
> I upgraded my subversion version to subversion1.6.6.
>
> When i restart apache, i get this error :
>
> apache2: Syntax error on line 189 of /etc/apache2/apache2.conf: Syntax error
> on line 2 of /etc/apache2/httpd.conf: Cannot load
> /usr/lib/apache2/modules/mod_authz_svn.so into server:
> /usr/local/subversion/lib/libsvn_subr-1.so.0: undefined symbol:
> apr_memcache_add_server
>
> I installed libapr et libapr-util from the subversion-deps sources.
>
> does someone have an idea about that?
>
> is it a bug?

It's not a bug, it's a problem with your installation.
You should compile Subversion-1.6.6 against your system's APR libraries,
rather than using APR and APR-util from subversion-deps sources.

You have compiled your subversion libraries against APR libraries
with memcached support, but the APR libraries used at runtime do
nto have memcached support. Worse, this probably means that the APR
your apache httpd is using does not match the APR Subversion is using,
which can cause all sorts of behaviour such as random crashes.

It's probably less hassle to just use Subversion packages from your
distribution. Or you could try to find official backport packages
of 1.6.6 for your distribution if you really need a bugfix made in 1.6.6.

Stefan

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2429710

Please start new threads on the <users_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <users-subscribe_at_subversion.apache.org>.
Received on 2009-12-11 11:15:54 CET

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.