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

db42-support-patch.txt breaks support for db4 < 4.2 ?

From: Matt Pounsett <matt.pounsett_at_cira.ca>
Date: 2004-08-19 00:40:32 CEST

I've been trying to port David Summers' "Whitebox" RPMs for use on RedHat
Enterprise Linux 3.x systems.. in particular Advanced Server and Edge Server
.. and it looks like I've run into a problem with one of the distributed
patches.

It looks like something has actually broken support for versions of db4 prior
to 4.2.. possibly the db4.2 patch itself. Something seems to be causing the
build process to look for libdb-4.2-4.1 instead of just libdb, even for the
--without-berkeley-db build. Here's how that build is currently dying:

cd subversion/svnadmin && /bin/sh /usr/src/redhat/BUILD/subversion-1.0.6/libtool --silent --mode=link gcc -all-static -O2 -g -march=i386 -mcpu=i686 -pthread -DNEON_ZLIB -DNEON_SSL -rpath /usr/lib -o svnadmin main.o ../../subversion/libsvn_repos/libsvn_repos-1.la ../../subversion/libsvn_fs/libsvn_fs-1.la ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la /usr/lib/libaprutil-0.la -lldap -llber -lgdbm -ldb-4.2-4.1 -lexpat /usr/lib/libapr-0.la -lrt -lm -lcrypt -lnsl -ldl
/usr/bin/ld: cannot find -ldb-4.2-4.1
collect2: ld returned 1 exit status
make: *** [subversion/svnadmin/svnadmin] Error 1

Clearly, no matter what version of db4 that's available, ld is never going to
find libdb-4.2-4.1.so.

Anyone know off the top of their heads how to fix this? Would simply removing
the db4.2 patch from the ./www/ directory be acceptable? It's unclear whether
this might break something else further down the line.

-- 
Matt Pounsett                 CIRA - Canadian Internet Registration Authority
Technical Support Programmer                    350 Sparks Street, Suite 1110
matt.pounsett@cira.ca                                 Ottawa, Ontario, Canada
613.237.5335 ext. 231                                      http://www.cira.ca
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 19 00:40:56 2004

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