You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Rodolfo Schulz de Lima <ro...@rodsoft.org> on 2003/11/19 00:51:36 UTC
Undefined symbol while loading mod_dav_svn.so
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
Re: Undefined symbol while loading mod_dav_svn.so
Posted by Ben Collins-Sussman <su...@collab.net>.
On Tue, 2003-11-18 at 18:51, Rodolfo Schulz de Lima wrote:
> [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??
Probably because you're running apache 2.0.47, while svn 0.33 requires
apache 2.0.48. mod_dav_svn, when loading into apache, is linking
against the "old" apr that's part of the apache installation.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org