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

BDB 4.0.14 static?

From: David Summers <david_at_summersoft.fay.ar.us>
Date: 2003-01-01 06:00:14 CET

I've always compiled subversion with shared dynamic linking turned on.

I'm working on trying to compile svnadmin statically for the first time
and it keeps saying:
... -ldb-4.0 -lexpat /usr/local/apache2/lib/libapr-0.la -lm -lcrypt -lnsl
-ldl
/usr/bin/ld: cannot find -ldb
collect2: ld returned 1 exit status

Which is kind of strange because the compile says "-ldb-4.0" which exists
in the /usr/lib/libdb-4.0.a library.

The ./configure script has this to say:
checking for Berkeley DB in /usr/include and /usr/lib (as db4)... no
checking for Berkeley DB in /usr/include and /usr/lib (as db)... yes

I thought I remembered an email thread about this but I've not been able
to find the thread so far (but I'm still looking).

Can anyone give me a clue? I've tried several variations on the
./configure command line to try to force it but no luck so far. Of course
everything works great when compiled shared/dynamically.

   Thanks!

-- 
David Wayne Summers          "Linux: Because reboots are for hardware upgrades!"
david_at_summersoft.fay.ar.us   PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint =  C0 E0 4F 50 DD A9 B6 2B  60 A1 31 7E D2 28 6D A8 
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jan 1 06:01:05 2003

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