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

Re: Build problem SVN 1.5-rc4 and mod_dav_svn (working now)

From: Marc Strapetz <marc.strapetz_at_syntevo.com>
Date: Mon, 28 Apr 2008 14:37:03 +0200

> httpd: Syntax error on line 46 of /usr/local/apache2/conf/httpd.conf:
> Cannot load /usr/local/apache2/modules/mod_dav_svn.so into server:
> libsvn_fs_util-1.so.0: cannot open shared object file: No such file or
> directory

After compiling today, the problem has gone -- no idea why.

The problem was located in the "relinking" step of mod_dav_svn.so: After
"make install", subversion/mod_dav_svn/.libs/ contains mod_dav_svn.so
and mod_dav_svn.soT. mod_dav_svn.so is linked against the SVN libraries
from the installation source for which libsvn_fs_util was correctly
linked for me (Apache actually worked with this module). For
mod_dav_svn.soT (the result from the "relinking" step) the link to
libsvn_fs_util was broken. From what I can tell, libtool has composed
the correct gcc call as both times the debug output has been identical.

The only guess I have is that I had not cleaned up the system good
enough before compiling 1.5 RC4 (it was the first time 1.5 was compiled
on this system). Especially I know that I had not removed
apache/modules/mod_dav_svn.so. On the other hand, reinstalling SVN 1.4
and SVN 1.5 again today without removing mod_dav_svn.so didn't trigger
the problem.

--
Best regards,
Marc Strapetz
_____________
SyntEvo GmbH
www.syntevo.com
Marc Strapetz wrote:
> I have tried to build SVN 1.5 RC4 from the tarball. svn and svnserve 
> seem to work fine, but when starting apache I'm getting:
> 
> httpd: Syntax error on line 46 of /usr/local/apache2/conf/httpd.conf: 
> Cannot load /usr/local/apache2/modules/mod_dav_svn.so into server: 
> libsvn_fs_util-1.so.0: cannot open shared object file: No such file or 
> directory
> 
> Doing an ldd on mod_dav_svn.so shows:
> 
> ...
> libsvn_fs_fs-1.so.0 => /usr/local/lib/libsvn_fs_fs-1.so.0 (0x40244000)
> libsvn_fs_util-1.so.0 => not found
> libz.so.1 => /usr/local/lib/libz.so.1 (0x40260000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
> libsvn_fs_util-1.so.0 => not found
> 
> Regarding the build process: I have skipped apr/, apr-util/ and serf/ 
> from the deps package and I have used:
> 
> ./configure --prefix=/usr/local --with-ssl
> 
> Thanks in advance for any ideas.
> 
> -- 
> Best regards,
> Marc Strapetz
> _____________
> SyntEvo GmbH
> www.syntevo.com
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
> 
> 
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-28 14:37:35 CEST

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.