

Apache/Subversion problems

From: Jacco van Schaik <jacco_at_frontier.nl>
Date: 2004-03-11 18:29:23 CET

Hi all,

I'm having some problems getting subversion 1.0.0 and apache 2.0.48 to
play nice together on a RedHat 9.0 box. When I start apache (apachectl
start) I get:

Cannot load /usr/httpd-2.0.48/modules/mod_dav_svn.so into server:
/usr/httpd-2.0.48/modules/mod_dav_svn.so: undefined symbol:

This is how I configured apache:

./configure --prefix=/usr/httpd-2.0.48 --enable-dav --enable-so

This is how I configured subversion:

./configure --prefix=/usr/subversion-1.0.0 --with-apxs --enable-zlib

I then tried to find this elusive svn_xml_is_xml_safe and tracked it
down to "libsvn_subr-1.so" in subversion's lib directory. And when I did
"ldd mod_dav_svn.so" I got a list of just 3 libraries: libpthread.so,
libc.so and ld-linux.so. So it's no surprise svn_xml_is_xml_safe
couldn't be found.

The thing is, I tried the same on another RedHat 9.0 box earlier and
that went without a hitch. And when I do "ldd mod_dav_svn.so" there I
get a list of 18 libs, including libexpat.so, libapr-0.so and that same

Does anybody have a clue as to why mod_dav_svn.so would be linked to
just 3 libraries? And, more to the point, how can this problem be fixed?

Heading off some possible questions:

I made sure there were no old subversion libs hanging around when
Adding /usr/subversion-1.0.0/lib to /etc/ld.so.conf (and running
ldconfig), either before or after compiling made no difference. It's not
there on the box where it does work, so it doesn't seem to be necessary

I also tried to --enable-dso when configuring subversion, but that gave
me the "#error No DSO implementation specified." error that I saw
mentioned in this mailing list's archives. I managed to get it to
compile using --enable-dso=dlfcn and manually adding -ldl to LDFLAGS,
but in the end that made no difference at all.

So, for the moment I'm stumped. Any advice greatly appreciated.

Groeten, - Jacco

| jacco-at-frontier-dot-nl | The time is 16:59 on Thursday March 11 
| AKA: Jacco van Schaik    | 2004. Here at Frontier HQ it's 5 degrees 
| WWW: www.frontier.nl     | with a gentle breeze from the east. 
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
Received on Thu Mar 11 18:29:52 2004
