You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "Jonathan M. Manning" <jm...@alisa-jon.net> on 2002/01/29 03:39:43 UTC

mod_dav_svn failures - can't find libraries

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

Re: mod_dav_svn failures - can't find libraries

Posted by Greg Stein <gs...@lyra.org>.
On Mon, Jan 28, 2002 at 10:39:43PM -0500, Jonathan M. Manning wrote:
>...
> 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.

It is just you :-)

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

Sure looks okay.

> 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

It should not have done that. There is definitely something wrong with your
installation process. I presume you didn't manually copy over the
libmod_dav_svn.so ? (which will definitely give the above behavior)

>...
> 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 that is just wrong.

Please provide the versions of gcc, autoconf, and libtool that you have on
your box, and whether you suspect they might be patched/non-standard in any
way.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org