atom feed14 messages in net.sourceforge.lists.courier-usersRe: [courier-users] GDBM issue
FromSent OnAttachments
ably...@epix.netApr 22, 2002 8:39 pm 
Andy BlylerApr 22, 2002 9:04 pm 
Michael CarmackApr 22, 2002 9:25 pm 
Andy BlylerApr 22, 2002 9:34 pm 
Iustin PopApr 22, 2002 9:50 pm 
Iustin PopApr 22, 2002 10:09 pm 
Andy BlylerApr 22, 2002 10:13 pm 
Iustin PopApr 22, 2002 10:18 pm 
Bill CampbellApr 22, 2002 10:27 pm 
ed...@edginton.netApr 24, 2002 3:01 pm 
Andy BlylerApr 24, 2002 5:52 pm 
Charlie WattsApr 24, 2002 6:37 pm 
Sam VarshavchikApr 24, 2002 6:57 pm 
Andy BlylerApr 24, 2002 7:14 pm 
Subject:Re: [courier-users] GDBM issue
From:Andy Blyler (ably@epix.net)
Date:Apr 22, 2002 9:34:40 pm
List:net.sourceforge.lists.courier-users

configure:1585: checking for db_env_create configure:1613: gcc -o conftest -g -O2 -I/usr/local/ssl/include -L/usr/lib conftest.c 1>&5 /tmp/ccY3w78c.o: In function `main': /home/ajb/courier-imap-1.4.4/configure:1607: undefined reference to `db_env_create' collect2: ld returned 1 exit status configure: failed program was: #line 1590 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char db_env_create(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char db_env_create();

int main() {

/* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_db_env_create) || defined (__stub___db_env_create) choke me #else db_env_create(); #endif

; return 0; }

----- Original Message ----- From: "Michael Carmack" <kar@karmak.org> To: "Andy Blyler" <ably@epix.net> Cc: <cour@lists.sourceforge.net> Sent: Tuesday, April 23, 2002 12:25 AM Subject: Re: [courier-users] GDBM issue

On Tue, Apr 23, 2002 at 12:04:27AM -0400, Andy Blyler wrote:

When I run ./configure as a normal user I get: checking for gdbm_open in -lgdbm... no checking for gdbm_open... no checking for dbopen in -ldb... no checking for db_open in -ldb... no checking for db_env_create in -ldb... no checking for dbopen... no checking for db_open... no checking for db_env_create... no configure: error: Cannot find either the gdbm or the db library.

$ rpm -q gdbm gdbm-1.8.0-10

$ ls /usr/lib/*gdbm*.* /usr/lib/libgdbm.so.2 /usr/lib/libgdbm.so.2.0.0

Any suguestions? I am running Red Hat 7.2.

Look at config.log for the configure script that failed.