This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: glibc-2.0.95 and ndbm.h?
- To: Franz.Sirl-kernel@lauterbach.com (Franz Sirl)
- Subject: Re: glibc-2.0.95 and ndbm.h?
- From: Thorsten Kukuk <kukuk@weber-eb.uni-paderborn.de>
- Date: Fri, 7 Aug 1998 14:10:58 +0200 (MET DST)
- Cc: libc-alpha@cygnus.com
Hello,
> Hi,
>
> during recompilation of all RedHat packages some failed because no ndbm.h
> get's installed. Is this the desired behaviour? Since libndbm gets
> installed as a link to libdb2 in db2/Makefile, wouldn't it be useful to
> install ndbm.h too? I have verified that installation of db/ndbm.h in
> /usr/include solves the compilation problems.
> What is the glibc policy here? Correct the package or correct the ndbm
> based packages?
Uli told me, that the problem is the following:
#include <db.h>
#include <ndbm.h>
You couldn't inlcude both, and he waits for a solution from the
authors.
But I think, it is not a good idea to install ndbm comapt links.
The libdb ndbm compat mode is not 100% compatible. I had make
this bad experince with my ypserv package.
I don't know, how many source is there, which only works with
ndbm. I only know sendmail, who has ndbm source, but this also works
with libdb. I think it is easier to rewrite this packages to use libdb
or libgdbm, then to search the problems with db/compat mode.
Thorsten
--
Thorsten Kukuk kukuk@vt.uni-paderborn.de
http://www-vt.uni-paderborn.de/~kukuk/
Linux is like a Vorlon. It is incredibly powerful, gives terse,
cryptic answers and has a lot of things going on in the background.