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

RE: SVN 0.31 / DB4.0.14 / Redhat 9, having problems with WebDAV(mod_dav_svn)

From: Files <files_at_poetryunlimited.com>
Date: 2003-10-20 16:26:38 CEST

Lenny, you may have had an older version of libdb4.0 installed either as part of
another RPM or just laying around (from your description).

Try using "rpm -q -f /lib/libdb-4.0.so" to see what package owns it.

Your use of ldd was great. :) It's really helpful to use it when things like this
happen.

Secondly, any *.so file as I'm sure you know, is a shared library. It is rare that a
program looks for it in a specific location. It is most often used in the order in
which it was discovered by going through the directories listed in /etc/ld.so.conf.

If you have the wrong version in /lib, all you really should need to do is delete
it. The symlink should be unnecessary. If you delete the /lib version and do an
'ldd', you should see the new libdb-4.0.so file being picked up.

As long as the correct version exists somewhere else in one of the directories
listed in /etc/ld.so.conf.

Let me know if this helps any.

Shamim Islam
BA BS

Lenny Tropiano (lenny@rocksteady.com) wrote:
>
>Apparently after closer inspection, you were absolutely correct. I did a "ldd
/usr/lib/httpd/modules/mod_dav_svn.so" and it was linked against /lib/libdb-4.0.so
instead of /usr/lib/libdb-4.0.so. Renaming the /lib version and putting a symlink
in solved the problem... geez.
>
> -----Original Message-----
> From: Michael Wood [mailto:mwood@its.uct.ac.za]
>
> I'm not sure this is the answer, but make sure your Apache and
> mod_dav_svn.so are also compiled against Berkeley DB 4.0.14.
>
> --
> Michael Wood <mwood@its.uct.ac.za>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 20 16:27:39 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.