You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Emmanuel Galatoulas <ga...@tee.gr> on 2002/03/14 11:36:22 UTC

Problem with libmod_dav_svn

Hi all!!!

I have been trying to build the Subversion server for the past few days
using both the 1302 and development releases from the 
http://svn.collab.net/svn/repos
as well as both Apache 2.0.32 and the latest daily snapshots from 
cvs.apache.org
but I am consistently getting the following error when I am trying to 
start httpd:

Cannot load /usr/local/apache2/modules/libmod_dav_svn.so into server: 
/usr/local/apache2/modules/libmod_dav_svn.so: undefined symbol: 
ap_get_module_config
/usr/local/apache2/bin/apachectl start: httpd could not be started

I tried all sort of options like using Apache's own APR,APR-util as well 
as subversion's ones but
the result is the same.

Any ideas???

Thanks

Emmanuel Galatoulas


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Problem with libmod_dav_svn

Posted by Emmanuel Galatoulas <ga...@tee.gr>.
Philip Martin wrote:

>Emmanuel Galatoulas <ga...@tee.gr> writes:
>
>>Cannot load /usr/local/apache2/modules/libmod_dav_svn.so into server:
>>/usr/local/apache2/modules/libmod_dav_svn.so: undefined symbol:
>>ap_get_module_config
>>
>>/usr/local/apache2/bin/apachectl start: httpd could not be started
>>
>>I tried all sort of options like using Apache's own APR,APR-util as
>>well as subversion's ones but
>>
>>the result is the same.
>>
>>Any ideas???
>>
>
>You used --enable-maintainer-mode when you configured Subversion but
>you didn't use --enable-maintainer-mode when you configured Apache. If
>you use --enable-maintainer-mode on Subversion you need to use it on
>Apache as well.
>
You are absolutely right!!! And it is all written and underlined in the 
Instructions!!! which reminds me
of course that we "MUST READ THE README" carefully.

After fixing also the issue of Apache's linking to the wrong db 
libraries (the default Debian libdb is libdb3.2.9) by compiling Apache 
with the extra options "--with-dbm=db4 
--with-berkeley-db=/path/to/my/local/BerkeleyDB-4.0.14" (again as 
advised in the installation guide)
httpd is starting nicely.
(You can check httpd's linking with #ldd httpd , and see that 
libmod_dav_svn is properly loaded from the
/usr/local/apache2/logs/error_log message:
 Apache/2.0.34-dev (Unix) mod_ssl/3.0a0 OpenSSL/0.9.6c DAV/2 SVN/0.10.0 
(r1467) configured -- resuming normal operations)

Thanks a lot!!!




Re: Problem with libmod_dav_svn

Posted by Philip Martin <ph...@codematters.co.uk>.
Emmanuel Galatoulas <ga...@tee.gr> writes:

> Cannot load /usr/local/apache2/modules/libmod_dav_svn.so into server:
> /usr/local/apache2/modules/libmod_dav_svn.so: undefined symbol:
> ap_get_module_config
> 
> /usr/local/apache2/bin/apachectl start: httpd could not be started
> 
> I tried all sort of options like using Apache's own APR,APR-util as
> well as subversion's ones but
> 
> the result is the same.
> 
> Any ideas???

You used --enable-maintainer-mode when you configured Subversion but
you didn't use --enable-maintainer-mode when you configured Apache. If
you use --enable-maintainer-mode on Subversion you need to use it on
Apache as well.

-- 
Philip

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org