[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnunet] [SOLVED] DB_DBT_MALLOC
From: |
uc\.sheda |
Subject: |
Re: [Help-gnunet] [SOLVED] DB_DBT_MALLOC |
Date: |
Sun, 8 Aug 2004 13:30:31 +0200 |
Hi,
> >Looking in this file show me this version informations:
> >
> >$OpenBSD: db.h,v 1.7 2003/06/02 19:34:12 millert Exp $
> >$NetBSD: db.h,v 1.13 1994/10/26 00:55:48 cgd Exp $
> >
> >
> Looks like Berkeley DB 1.xx
>
> >My question is: How can this two BDB install live together?
> >
> They have different filenames, libdb-3.2.so for example.
> Distributions usually symlink the newest version. On my machine
> /usr/lib/libdb.so is a link to /usr/lib/libdb3.so.3
Ok.
Before installing db-3.1.17 package, i was enable to find a
libdb* file. Here is the situation after installing this package:
# find / -name db.h
/usr/include/db.h
/usr/local/include/kpathsea/db.h
# cd /usr/lib
# ls libdb*
ls: libdb*: No such file or directory
# cd /usr/local/lib
# ls libdb*
libdb.a libdb.so.3.1 libdb_cxx.la
libdb.la libdb_cxx.a libdb_cxx.so.3.1
# ls -lTc libdb*
-rw-r--r-- 1 root wheel 609764 Aug 8 11:39:00 2004 libdb.a
-rw-r--r-- 1 root wheel 621 Aug 8 11:39:00 2004 libdb.la
-rwxr-xr-x 1 root wheel 471523 Aug 8 11:39:00 2004
libdb.so.3.1
-rw-r--r-- 1 root wheel 649622 Aug 8 11:39:00 2004 libdb_cxx.a
-rw-r--r-- 1 root wheel 641 Aug 8 11:39:00 2004
libdb_cxx.la
-rwxr-xr-x 1 root wheel 597435 Aug 8 11:39:00 2004
libdb_cxx.so.3.1
BDBv3 library seems to be /usr/local/lib/libdb.so.3.1 (shared)
and /usr/local/lib/libdb.a (static). But where is the BDBv1
library? Does it mean that BDBv1 isn't installed? Maybe some
headers (as /usr/include/db.h) are installed to ensure some
compatibility?
> > To
> >let my BDBv3 be used by GNUnet, is it as simple as:
> > cd /usr/include
> > mv db.h db.h.bak
> > ln /usr/local/include/db3.h db.h
> >I tried to specify BDBv3 install directory to ./configure
> >(--with-bdb=/usr/local) but it doesn't change anything.
> >
> >
> That's odd. Is the error message really the same? Are there
any other
> BDB 1.x "db.h"s in your path?
It was a question :) I had not yet tried when asking, sorry.
Now i tried. It seems to solve my problem but is it a good
solution?
Now i have another compilation issue (with gettext) but i'll
investigate a little before asking ;)
thx for your help
sheda
Accédez au courrier électronique de La Poste : www.laposte.net ;
3615 LAPOSTENET (0,34/mn) ; tél : 08 92 68 13 50 (0,34/mn)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Help-gnunet] [SOLVED] DB_DBT_MALLOC,
uc\.sheda <=