[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compiler error: cannot find -ldb



Ben Collins wrote:

> On Fri, Feb 09, 2001 at 04:31:39PM +0000, Luis Arocha -data- wrote:
> > Investigating this error I found this libs:
> > yoda:~ (.22 Mb)$ ls /usr/lib/libdb*
> > lrwxrwxrwx    1 root     root           16 feb  2 21:17 /usr/lib/libdb1.so->/lib/libdb1.so.2
> > lrwxrwxrwx    1 root     root           15 nov  4 16:09 /usr/lib/libdb2.so.2->libdb2.so.2.7.7
> > -rw-r--r--    1 root     root       278604 nov  4 16:09 /usr/lib/libdb2.so.2.7.7
> >
> > I don't see any libdb.a
> > AFAIK libdb.a must be in libc6-dev, however it's not.
> > What must I do?
>
> No, latest glibc does not include compile support for libdb. Install and
> Build-Depends on libdb2-dev

On potato, libc6-dev provides it.  On woody/sid, libdb2-dev provides it.

However, when I tried to build something on arm woody this morning, it failed because the
installed version of libdb2-dev (2.4.14-2.7.7.1) did not have /usr/lib/libdb.so.  Note that
dists/woody/main/Contents-arm.gz does not have that file listed at all.  But the Packages file has
libdb2-dev 2.7.7-2.2, that apt was not acknowledging; it gave 2.4.14-2.7.7.1 as the available
version.  Very odd.

I solved the problem by manually downloading and installing the newer libdb2-dev.  Maybe your
problem is related?

Zeen,

-Adam P.

GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

                       Welcome to the best software in the world today cafe!



Reply to: