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

Undefined symbol while loading mod_dav_svn.so

From: Rodolfo Schulz de Lima <rodolfo_at_rodsoft.org>
Date: 2003-11-19 01:51:36 CET

I've just downloaded subversion-0.33.1 and tried to prepare to compile
it using autogen.sh. Well, autogen.sh and configure works, but 'make'
didn't work. It complains that libtool is missing when compiling
subversion/libsvn_ra, and other libraries inside. After doing just a
normal ./configure (without autogen), it compiled and installed fine.
After some thought and peeking around, I discovered that autogen.sh
somehow made abs_srcdir and abs_builddir equal to ., instead of the full pathname. This alone made the compilation fail.

The second issue (without solution for me yet) happens when I try to
load the httpd server. The following message shows up and the server
doesn't load.

Syntax error on line 20 of /etc/httpd.conf:
Cannot load /usr/lib/apache/mod_dav_svn.so into server:
/usr/lib/libsvn_subr-1.so.0: undefined symbol: apr_file_mtime_set.
Running ldd on libsvn_Subr-1.so.0, we have:

[rodolfo@servidor /usr/lib]$ ldd libsvn_subr-1.so.0
        libaprutil-0.so.0 => /usr/lib/libaprutil-0.so.0 (0x40035000)
        libgdbm.so.3 => /usr/lib/libgdbm.so.3 (0x4004e000)
        libdb-4.1.so => /usr/lib/libdb-4.1.so (0x40054000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x400fc000)
        libapr-0.so.0 => /usr/lib/libapr-0.so.0 (0x4011b000)
        librt.so.1 => /lib/librt.so.1 (0x4013e000)
        libm.so.6 => /lib/libm.so.6 (0x40150000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x40174000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x401a1000)
        libdl.so.2 => /lib/libdl.so.2 (0x401b4000)
        libc.so.6 => /lib/libc.so.6 (0x401b7000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x402dc000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

Doing nm on libapr-0.so.0, looking for apr_file_mtime_set, we have:

[rodolfo@servidor /usr/lib]$ nm libapr-0.so.0 | grep apr_file_mtime_set
000107ce T apr_file_mtime_set

So, the function is there. Why doesn't libsvn_subr-1.so.0 get it??

Regards, Rodolfo Lima.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Nov 19 01:52:28 2003

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.