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

Re: AW: svn configure trouble between apr-util & berkeley db

From: Robert Guthrie <rguthrie_at_pobox.com>
Date: 2004-06-24 18:13:23 CEST

Okay, so I re-configured, compiled and installed the Berkeley DB libs
and include files in one place (/home/rguthr/src/svn/Berkeley42). I
then re-ran the subversion configure script, with all of the options
updated to the new BerkeleyDB 4.2 location.

It failed in the same way, and digging into apr-util/config.log shows:
configure:15895: checking for db.h
configure:15902: result: yes
configure:15918: checking for -ldb
configure:15985: cc -o conftest -qlanglvl=extended -qHALT=E -U__STR__
-D_THREAD_SAFE -D_USE_IRS -I/home/rguthr/src/svn/Berkeley42/include
-L/home/rguthr/src/svn/Berkeley42/lib
-Wl,-blibpath:/home/rguthr/src/svn/Berkeley42/lib:/usr/lpp/xlopt:/usr/
lib/threads:/usr/lib:/lib -L/home/rguthr/src/svn/Berkeley42/lib
conftest.c -ldb >&5
ld: 0711-317 ERROR: Undefined symbol: .mutex_lock
ld: 0711-317 ERROR: Undefined symbol: .cond_signal
ld: 0711-317 ERROR: Undefined symbol: .mutex_unlock
ld: 0711-317 ERROR: Undefined symbol: .mutex_trylock
ld: 0711-317 ERROR: Undefined symbol: .cond_wait
ld: 0711-317 ERROR: Undefined symbol: .mutex_init
ld: 0711-317 ERROR: Undefined symbol: .cond_init
ld: 0711-317 ERROR: Undefined symbol: .mutex_destroy
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.

This error seems to be different, at least.

So I'm back where I started, but with BDB where I thought I had it all
along. For completeness, I'm including the portion of a script I have
to run the subversion configure.

===========================
SVN_DIR=/home/rguthr/src/svn/subversion-1.0.5/
DB_DIR=/home/rguthr/src/svn/Berkeley42
cd $SVN_DIR

export LIBPATH=$LIBPATH:$DB_DIR/lib:/usr/ccs/lib/
export CFLAGS='-qlanglvl=extended'
export LD_RUN_PATH=$DB_DIR/lib

export LDFLAGS="-L$DB_DIR/lib
-Wl,-blibpath:$DB_DIR/lib:/usr/lpp/xlopt:/usr/lib/threads:/usr/lib:/
lib"

./configure --prefix=/home/rguthr/subversion \
                 --with-berkeley-db=$DB_DIR \
                 --with-dbm=db42 \
                 --disable-shared \
                 2>&1 | tee subversion_config.log

=============================

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 24 18:15:02 2004

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.