You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Marc Strapetz <ma...@syntevo.com> on 2008/04/28 12:37:03 UTC
Re: Build problem SVN 1.5-rc4 and mod_dav_svn (working now)
> 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@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
Re: Build problem SVN 1.5-rc4 and mod_dav_svn (working now)
Posted by Karl Fogel <kf...@red-bean.com>.
Marc Strapetz <ma...@syntevo.com> writes:
>> Sorry, I didn't understand your question. Is there a typo, maybe? You
>> seemed to ask whether X is "still ok" while X "is broken" (since the
>> same ldd command was given twice).
>
> The difference is between mod_dav_svn.so and mod_dav_svn.so*T*.
Heh!
Thank you. I actually used my editor's search function to check that
the strings were really the same -- as they were, if you consider the
prefix before the "T" :-). My eye must have unconsciously filtered out
the "T" as noise. Sorry for missing that.
-Karl
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Build problem SVN 1.5-rc4 and mod_dav_svn (working now)
Posted by Marc Strapetz <ma...@syntevo.com>.
> Sorry, I didn't understand your question. Is there a typo, maybe? You
> seemed to ask whether X is "still ok" while X "is broken" (since the
> same ldd command was given twice).
The difference is between mod_dav_svn.so and mod_dav_svn.so*T*.
--
Best regards,
Marc Strapetz
_____________
SyntEvo GmbH
www.syntevo.com
Karl Fogel wrote:
> Marc Strapetz <ma...@syntevo.com> writes:
>> I have been using "make distclean". But I think the problem is outside
>> the installation source tree resp. there is no problem in the build
>> scripts. Is your
>>
>> ldd subversion/mod_dav_svn/.libs/mod_dav_svn.so
>>
>> still ok and the module even working when copying to your Apache
>> modules directory while
>>
>> ldd subversion/mod_dav_svn/.libs/mod_dav_svn.soT
>>
>> is broken? This relinking is only part of "make install" and as far as
>> I understand it should be a trivial process and that makes me feel a
>> bit uncomfortable about my current installation ...
>
> Sorry, I didn't understand your question. Is there a typo, maybe? You
> seemed to ask whether X is "still ok" while X "is broken" (since the
> same ldd command was given twice). For all values of X, X cannot be
> simultaneously okay and broken :-). I may be missing something...
>
> -Karl
>
> ---------------------------------------------------------------------
> 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
Re: Build problem SVN 1.5-rc4 and mod_dav_svn (working now)
Posted by Karl Fogel <kf...@red-bean.com>.
Marc Strapetz <ma...@syntevo.com> writes:
> I have been using "make distclean". But I think the problem is outside
> the installation source tree resp. there is no problem in the build
> scripts. Is your
>
> ldd subversion/mod_dav_svn/.libs/mod_dav_svn.so
>
> still ok and the module even working when copying to your Apache
> modules directory while
>
> ldd subversion/mod_dav_svn/.libs/mod_dav_svn.soT
>
> is broken? This relinking is only part of "make install" and as far as
> I understand it should be a trivial process and that makes me feel a
> bit uncomfortable about my current installation ...
Sorry, I didn't understand your question. Is there a typo, maybe? You
seemed to ask whether X is "still ok" while X "is broken" (since the
same ldd command was given twice). For all values of X, X cannot be
simultaneously okay and broken :-). I may be missing something...
-Karl
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Build problem SVN 1.5-rc4 and mod_dav_svn (working now)
Posted by Marc Strapetz <ma...@syntevo.com>.
Hello Karl,
> ...so I assume I'm clearing out any old libtool T files; indeed, should
> be clearing out .libs/ directories entirely. I'll make sure that's
> true.
I have been using "make distclean". But I think the problem is outside
the installation source tree resp. there is no problem in the build
scripts. Is your
ldd subversion/mod_dav_svn/.libs/mod_dav_svn.so
still ok and the module even working when copying to your Apache modules
directory while
ldd subversion/mod_dav_svn/.libs/mod_dav_svn.soT
is broken? This relinking is only part of "make install" and as far as I
understand it should be a trivial process and that makes me feel a bit
uncomfortable about my current installation ...
--
Best regards,
Marc Strapetz
_____________
SyntEvo GmbH
www.syntevo.com
Karl Fogel wrote:
> Marc Strapetz <ma...@syntevo.com> writes:
>> 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.
>
> Hunh. Well, thanks for following up. I frequently do
>
> make fast-clean; make local-clean; make extraclean
> rm -f libtool; ./autogen.sh;
> ./configure [...]
> make
>
> ...so I assume I'm clearing out any old libtool T files; indeed, should
> be clearing out .libs/ directories entirely. I'll make sure that's
> true.
>
> -K
>
> ---------------------------------------------------------------------
> 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
Re: Build problem SVN 1.5-rc4 and mod_dav_svn (working now)
Posted by Karl Fogel <kf...@red-bean.com>.
Marc Strapetz <ma...@syntevo.com> writes:
> 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.
Hunh. Well, thanks for following up. I frequently do
make fast-clean; make local-clean; make extraclean
rm -f libtool; ./autogen.sh;
./configure [...]
make
...so I assume I'm clearing out any old libtool T files; indeed, should
be clearing out .libs/ directories entirely. I'll make sure that's
true.
-K
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org