You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by David Summers <da...@summersoft.fay.ar.us> on 2003/01/01 05:00:14 UTC
BDB 4.0.14 static?
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@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
Re: BDB 4.0.14 static?
Posted by David Summers <da...@summersoft.fay.ar.us>.
Ha! Why is it you *always* find the answer *after* posting to the list?
The answer is: ./configure --without-berkeley-db
but it goes ahead and compiles svnadmin statically fine! :-)
Hopefully in a few minutes I'll have a new RPM that saves the old static
svnadmin when the RPM is erased or upgraded so you can still dump/load
your old repositories *AFTER* upgrading to a new version of the RPM.
- David
On Tue, 31 Dec 2002, David Summers wrote:
> 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@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