Subject: Re: qpopper needs gdbm?
To: Hubert Feyrer <>
From: Dean Huxley <>
List: tech-pkg
Date: 05/10/1999 18:14:20
Hubert Feyrer <> wrote:
> On Mon, 10 May 1999, Dean Huxley wrote:
> > checking for gdbm_open in -lgdbm... yes
> > 
> > This sets '#define GDBM 1' in config.h which causes a bunch of files to
> > include gdbm.h.
> Can you have a look at the generated config.log?

There isn't anything interesting there:
configure:1528: checking for maillock.h
configure:1528: checking for ndbm.h
configure:1528: checking for gdbm.h
configure:1528: checking for dbm.h
configure:1528: checking for shadow.h
configure:1773: checking for dbm_open in -lndbm
configure:1813: checking for dbm_open in -ldbm
configure:1853: checking for gdbm_open in -lgdbm
configure:1896: checking for set_auth_parameters in -lsecurity

It attempts to compile:

char gdbm_open();
int main() {
; return 0; }

with -lgdbm and it has no problems doing so.

gdbm was previously installed (required by kde-something):

-rw-r--r--  1 root  wheel  25880 Apr 23 22:24 /usr/local/lib/libgdbm.a
-rwxr-xr-x  1 root  wheel  29151 Apr 23 22:24 /usr/local/lib/*

The header file gdbm.h hasn't been looked at for a while:
l -u /usr/local/include/gdbm.h
-rwxr-xr-x  1 root  wheel  4655 Apr 23 23:48 /usr/local/include/gdbm.h*

Hubert, on the machine you tested on, did you have /usr/pkg/lib in
/etc/ when you built qpopper?