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

1.2.0 on RH7.2: apache2 can't load mod_dav_svn.so

From: Chris Shenton <Chris.Shenton_at_hq.nasa.gov>
Date: 2005-05-25 20:10:38 CEST

I've inherited an elderly Redhat-7.2 box which is our CVS server; I'm
on the hook to get Subversion running and migrate to it. Perhaps this
is a Linux newbie problem, I'm a FreeBSD/Solaris-kinda-guy.

  root@osiris<119> uname -a
  Linux osiris 2.4.9-31 #1 Tue Feb 26 07:11:02 EST 2002 i686 unknown
  root@osiris<120> cat /etc/redhat-release
  Red Hat Linux release 7.2 (Enigma)

I downloaded the source and configured like:

  ./configure --with-apr=/usr/local/apache2 --with-apr-util=/usr/local/apache2 --with-apxs=/usr/local/apache2/bin/apxs --without-berkeley-db --with-ssl

Then did a make && make install. Everything seemed to go well. I can
create a new repo just fine:

  root@osiris<125> svnadmin create /data1/repoman
  root@osiris<126> ls -l /data1/repoman
  total 28
  drwxr-xr-x 2 root root 4096 May 25 13:52 conf
  drwxr-xr-x 2 root root 4096 May 25 13:52 dav
  drwxr-sr-x 5 root root 4096 May 25 13:52 db
  -r--r--r-- 1 root root 2 May 25 13:52 format
  drwxr-xr-x 2 root root 4096 May 25 13:52 hooks
  drwxr-xr-x 2 root root 4096 May 25 13:52 locks
  -rw-r--r-- 1 root root 379 May 25 13:52 README.txt

But when I try to integrate with Apache and restart apache, it fails:

  root@osiris<127> /usr/local/apache2/bin/httpd
  Syntax error on line 236 of /usr/local/apache2/conf/httpd.conf:
  Cannot load /usr/local/apache2/modules/mod_dav_svn.so into server:
  /usr/local/lib/libsvn_subr-1.so.P\n: shared object not open

I'm suspicious of the last two characters of the name it says is "not
open".... It could be a problem or could be a display issue, I don't
know.

  root@osiris<129> ldd /usr/local/apache2/modules/mod_dav_svn.so | grep libsvn_subr-1
          libsvn_subr-1.so.0 => /usr/local/lib/libsvn_subr-1.so.0 (0x4004d000)

Here the libsvn name looks just fine.

I built Apache2 from source last week.

  root@osiris<137> /usr/local/apache2/bin/httpd -version
  Server version: Apache/2.0.54
  Server built: May 19 2005 15:08:09

Any ideas? Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 25 20:12:44 2005

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.