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

mod_dav_svn failures - can't find libraries

From: Jonathan M. Manning <jmanning_at_alisa-jon.net>
Date: 2002-01-29 04:39:43 CET

Starting apache with libmod_dav_svn installed, I get:
/usr/local/lib/libsvn_delta.so.0 : shared object not open

I've had this issue for some time now. Thought it was just me, maybe I
didn't play around enough with apache yet. However, I've been pretty
intent on getting this working this last week or so, without much luck.

I'm guessing it's just me, since no one else is complaining, but any help
you can provide is greatly appreciated.

Lot's of detail follows...
Here's what I do:

Cleanup everything

apr is in the source tree - there are two copies, one in
httpd-2.0/srclib, and the other in svn/apr.
everything is cvs up and svn update'd to the latest.

make apache

Apache installs and runs great.

make neon (it's outside the source tree so I don't have to wait for it to
build every time I build svn) (with ssl)

make svn --with-apxs=...

Everything is OK, svn works great. Module builds OK.

Restart apache (actually, apachectl configtest - apachectl restart told me
to do that first because of errors): Syntax error on line 249 of
/usr/local/apache2/conf/httpd.conf: Cannot load
/usr/local/apache2/modules/libmod_dav_svn.so into server:
/home/jmanning/src/svn/subversion/libsvn_delta/.libs/libsvn_delta.so.0:shared
object not open

Huh? It's using the library from my build directory. Odd, but it should
still work.
cd ~/src/svn; make extraclean
There - local build dir libraries gone now.

apachectl configtest
Syntax error on line 249 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/libmod_dav_svn.so into server:
/usr/local/lib/libsvn_delta.so.0 : shared object not open
                              --^--
Funny thing - there's a box here - control character. When I paste it into
pine using gpm, I get a whole page of blank text inbetween 0 and :. Could
this be some odd error?

That looks like the right place at least. Everything else linked OK?

$ ldd libmod_dav_svn.so
   libsvn_repos.so.0 => /usr/local/lib/libsvn_repos.so.0 (0x40010000)
   libsvn_fs.so.0 => /usr/local/lib/libsvn_fs.so.0 (0x40019000)
   libsvn_delta.so.0 => /usr/local/lib/libsvn_delta.so.0 (0x40032000)
   libsvn_subr.so.0 => /usr/local/lib/libsvn_subr.so.0 (0x4003d000)
   libm.so.6 => /lib/i686/libm.so.6 (0x40069000)
   libcrypt.so.1 => /lib/libcrypt.so.1 (0x4008c000)
   libnsl.so.1 => /lib/libnsl.so.1 (0x400b9000)
   libdl.so.2 => /lib/libdl.so.2 (0x400cf000)
   libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x400d3000)
   libc.so.6 => /lib/i686/libc.so.6 (0x400db000)
   libapr.so.0 => /usr/local/lib/libapr.so.0 (0x40218000)
   libdb-4.0.so => /usr/local/BerkeleyDB.4.0/lib/libdb-4.0.so (0x40234000)
   libexpat.so.0 => /usr/local/lib/libexpat.so.0 (0x402bb000)
   /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

( This does reveal one thing - I'm using gcc3. I've been consistent using
that for everything though... and yes, I started from scratch *without*
gcc3, same results. db4 just complains I'm using a broken gcc without it.)

Everything looks good here. ldconfig is happy, svn is happy, apache is
happy without libmod_dav_svn.

Any thoughts?

~Jonathan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:01 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.