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

Library load problem with Subversion upgrade

From: David Tyler <dtyler_at_justicesystems.com>
Date: Tue, 08 Jul 2008 14:51:08 -0600

I am currently trying to upgrade Subversion on my Red Hat Linux system from 1.4.6 to 1.5.0.

When I try to start up Apache I get the following error:

# ./apachectl start

httpd: Syntax error on line 64 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

Line 64 contains the following:

LoadModule dav_svn_module modules/mod_dav_svn.so

Background information:

As part of migration to Subversion 1.5.0, I am also migrating from Apache web server 2.0.59 to 2.2.9.

Red Hat Linux system about 4 years old (Linux 2.4.21-4.ELsmp).

Output from ldd mod_dav_svn.so:
        libsvn_repos-1.so.0 => /usr/local/lib/libsvn_repos-1.so.0 (0xb75ae000)
        libsvn_fs-1.so.0 => /usr/local/lib/libsvn_fs-1.so.0 (0xb75a9000)
        libsvn_delta-1.so.0 => /usr/local/lib/libsvn_delta-1.so.0 (0xb75a0000)
        libsvn_subr-1.so.0 => /usr/local/lib/libsvn_subr-1.so.0 (0xb756f000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb755f000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7428000)
        libaprutil-1.so.0 => /usr/local/apache2/lib/libaprutil-1.so.0 (0xb740d000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0xb73ed000)
        libapr-1.so.0 => /usr/local/apache2/lib/libapr-1.so.0 (0xb73cc000)
        libuuid.so.1 => /lib/libuuid.so.1 (0xb73c9000)
        librt.so.1 => /lib/tls/librt.so.1 (0xb73b5000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7388000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7384000)
        libsvn_fs_fs-1.so.0 => /usr/local/lib/libsvn_fs_fs-1.so.0 (0xb7368000)
        libsvn_fs_util-1.so.0 => not found
        libz.so.1 => /usr/lib/libz.so.1 (0xb735a000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
        libsvn_fs_util-1.so.0 => not found

ls of "missing" library in /usr/local/lib:

# ls -l libsvn_fs_util-1.so*
lrwxrwxrwx 1 root root 25 Jul 7 15:52 libsvn_fs_util-1.so -> libsvn_fs_util-1.so.0.0.0
lrwxrwxrwx 1 root root 25 Jul 7 15:52 libsvn_fs_util-1.so.0 -> libsvn_fs_util-1.so.0.0.0
-rwxr-xr-x 1 root root 16671 Jul 7 15:52 libsvn_fs_util-1.so.0.0.0

Compile commands used for apache:

$ ./configure --prefix=/usr/local/apache2 --enable-ssl --enable-cache --enable-disk-cache --enable-mem-cache --enable-autoindex --enable-dav --enable-dav-fs --enable-dav-lock --enable-mods-shared="rewrite ssl dav dav-fs dav-lock proxy"

$ make

# make install

Compile commands used for Subversion:

$ ./configure --with-apr=/usr/local/apache2 --with-apr-util=/usr/local/apache2

$ make

# make install

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-08 23:00:27 CEST

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.