Coda File System

Re: Debian configuration issues

From: Jan Harkes <>
Date: Tue, 17 Oct 2000 09:38:12 -0400
On Tue, Oct 17, 2000 at 10:10:12AM +0900, Stephen J. Turnbull wrote:
> >>>>> "Jan" == Jan Harkes <> writes:
>     Jan> I don't know where debian's libdb1.85 compatible library went
>     Jan> with the recent glibc updates. In fact, the autoconf macro
>     Jan> that is searching for libdb1.85 complains loudly.
> I saw that; what I don't understand is why it doesn't link to -ldb1.
> bash-2.04$ cat >/tmp/test.c <<EOT 
> > #include <db.h>
> > int main () { dbopen(0,0,0,0,0); }
> > EOT
> bash-2.04$ gcc -o /tmp/test -ldb1 /tmp/test.c
> /usr/bin/ld: cannot find -ldb1
> collect2: ld returned 1 exit status

It looks like we are missing libdb-dev or something, or libdb-dev
doesn't contain the link

> Aarrgh.  Debian, bletch.  OTOH, glibc no longer provides db (see
> attached FAQ).  Maybe it's time to migrate Coda?  Or is Linux the only
> system where db 1.85 is being phased out?

Sleepycat's db2 library has (had?) licencing restrictions. A special
exemption has been made to make it linkable to any application that uses
glibc. And with it's GNU background this one is mostly popular amongst
Linux distributions, but has not been adopted by most other systems.

Received on 2000-10-17 09:40:15