[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: Shan Bin Wang <shanbin.wang_at_gmail.com>
Date: 2007-11-22 05:18:07 CET

Hi Troy,

Thanks for pointing the meaning of error message to me.

I installed mod_dav_svn after both Apache and Subversion got installed
and I can see libsvn_repos under lib directory of Subversion. But I
didn't put Subversion to standard location, how to "tell" mod_dav_svn
where to find libsvn_repos?

Another problem is, even if I copied the whole installation directory
of a working Apache and Subversion to a new machine, I still received
the same error message.

Thanks,

On 11/22/07, Troy Curtis Jr <troycurtisjr@gmail.com> wrote:
> 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/)
>

-- 
ShanBin Wang
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 22 05:18:35 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.