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

Re: Portability of mod_dav_svn.so under Linux?

From: Troy Curtis Jr <troycurtisjr_at_gmail.com>
Date: 2007-11-22 04:51:02 CET

On Nov 21, 2007 9:18 PM, Shan Bin Wang <shanbin.wang@gmail.com> wrote:
> Hi all,
>
> I tried to build a RPM package consisting Apache HTTPD and Subversion
> but met a problem.
>
> The packaged mod_dav_svn.so doesn't work on any other machine except
> the build machine itself.
>
> After successfully installing the RPM, the following error message
> reported when I tried to start httpd:
> ---
> httpd: Syntax error on line 53 of /opt/httpd/conf/httpd.conf: Cannot
> load /opt/httpd/modules/mod_dav_svn.so into server:
> libsvn_repos-1.so.0: cannot open shared object file: No such file or
> directory
> ---
>
> Of course, mod_dav_svn.so does exists and httpd.conf is also OK.
>
> If I compiled the mod_dav_svn.so manually on the target machine and
> replaced the faulty mod_dav_svn.so, everything's fine.
>
> Test environment is, Apache HTTPD 2.2.6, Subversion 1.4.5, SUSE 10 (x86_64).
>
> Does anyone have ideas on compiling a portable mod_dav_svn.so?
>
> Thanks a lot,
>
> --
> ShanBin Wang
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

Make sure that you not only install your build mod_dav_svn, but also
the actual subversion package. Your error message is complaining
about missing the libsvn_repos library. The mod_dav_svn is really
just a glue between the Subversion libs and Apache, it's not meant to
be a standalone module. When you build on the target machine, you
necessarily have the whole Subversion source and thus the libsvn_repos
library.

Troy

-- 
"Beware of spyware. If you can, use the Firefox browser." - USA Today
Download now at http://getfirefox.com
Registered Linux User #354814 ( http://counter.li.org/)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 22 04:51:31 2007

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.