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/25 12:20:26 UTC
Build problem SVN 1.5-rc4 and mod_dav_svn
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
Re: Build problem SVN 1.5-rc4 and mod_dav_svn
Posted by Marc Strapetz <ma...@syntevo.com>.
> I have uploaded ldd and configure output to http://pastebin.ca/997244.
> Unfortunately I'm not even using BDB (it's not present on the system).
And I have just added linker warnings at http://pastebin.ca/997374 which
were not contained in the previous pastebin post. This time, tried to
build with serf included.
--
Best regards,
Marc Strapetz
_____________
SyntEvo GmbH
www.syntevo.com
Marc Strapetz wrote:
>> Mark, this looks familiar to errors I've been having when I try to
>> include Berkeley DB ("BDB") in my Subversion server. Can you show the
>> output of your configure command?
>
> I have uploaded ldd and configure output to http://pastebin.ca/997244.
> Unfortunately I'm not even using BDB (it's not present on the system).
>
>> I've been having the problem on a Debian GNU/Linux system. What's your
>> platform?
>
> The server runs on SuSE Linux 9.1.
>
> --
> Best regards,
> Marc Strapetz
> _____________
> SyntEvo GmbH
> www.syntevo.com
>
>
>
> Karl Fogel wrote:
>> Marc Strapetz <ma...@syntevo.com> writes:
>>> 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.
>>
>> Mark, this looks familiar to errors I've been having when I try to
>> include Berkeley DB ("BDB") in my Subversion server. Can you show the
>> output of your configure command? Does it include anything about
>> Berkeley DB? If you build with "--with-berkeley-db=no" (or whatever the
>> right negative option is), do you still have this problem?
>>
>> I've been having the problem on a Debian GNU/Linux system. What's your
>> platform?
>>
>> Actually, for me the error is slightly different:
>>
>> httpd: Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf:
>> Cannot load /usr/local/apache2/modules/mod_dav_svn.so into server:
>> libsvn_fs_base-1.so.0: cannot open shared object file: No such file or
>> directory
>>
>> More details at http://pastebin.ca/997083, and see also ldd output at
>> http://pastebin.ca/997085.
>>
>> I'd love to get this resolved; it's preventing me from testing BDB
>> entirely.
>>
>> -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
>
>
---------------------------------------------------------------------
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
Posted by Marc Strapetz <ma...@syntevo.com>.
> Mark, this looks familiar to errors I've been having when I try to
> include Berkeley DB ("BDB") in my Subversion server. Can you show the
> output of your configure command?
I have uploaded ldd and configure output to http://pastebin.ca/997244.
Unfortunately I'm not even using BDB (it's not present on the system).
> I've been having the problem on a Debian GNU/Linux system. What's your
> platform?
The server runs on SuSE Linux 9.1.
--
Best regards,
Marc Strapetz
_____________
SyntEvo GmbH
www.syntevo.com
Karl Fogel wrote:
> Marc Strapetz <ma...@syntevo.com> writes:
>> 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.
>
> Mark, this looks familiar to errors I've been having when I try to
> include Berkeley DB ("BDB") in my Subversion server. Can you show the
> output of your configure command? Does it include anything about
> Berkeley DB? If you build with "--with-berkeley-db=no" (or whatever the
> right negative option is), do you still have this problem?
>
> I've been having the problem on a Debian GNU/Linux system. What's your
> platform?
>
> Actually, for me the error is slightly different:
>
> httpd: Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/mod_dav_svn.so into server: libsvn_fs_base-1.so.0: cannot open shared object file: No such file or directory
>
> More details at http://pastebin.ca/997083, and see also ldd output at
> http://pastebin.ca/997085.
>
> I'd love to get this resolved; it's preventing me from testing BDB
> entirely.
>
> -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
Posted by Karl Fogel <kf...@red-bean.com>.
Marc Strapetz <ma...@syntevo.com> writes:
> 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.
Mark, this looks familiar to errors I've been having when I try to
include Berkeley DB ("BDB") in my Subversion server. Can you show the
output of your configure command? Does it include anything about
Berkeley DB? If you build with "--with-berkeley-db=no" (or whatever the
right negative option is), do you still have this problem?
I've been having the problem on a Debian GNU/Linux system. What's your
platform?
Actually, for me the error is slightly different:
httpd: Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/mod_dav_svn.so into server: libsvn_fs_base-1.so.0: cannot open shared object file: No such file or directory
More details at http://pastebin.ca/997083, and see also ldd output at
http://pastebin.ca/997085.
I'd love to get this resolved; it's preventing me from testing BDB
entirely.
-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 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
Re: Build problem SVN 1.5-rc4 and mod_dav_svn (working now)
Posted by Marc Strapetz <ma...@syntevo.com>.
> 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