Compile error: undefined reference to db_create

From: Seba <>
Date: Mon, 17 Aug 2009 23:59:30 +0200

System: Debian Lenny
Open DKIM: 1.0

I'm trying to compile OpenDKIM with these configure options:

--prefix=/usr --enable-querycache --with-milter=/usr --disable-popauth

configure seems to be OK but during make I get this error:

../libopendkim/.libs/ undefined reference to `db_create'
collect2: ld returned 1 exit status

With Debian Lenny I can only choose between Berkeley DB 4.5 or 4.6.

In /usr/lib I've these files:

libdb.a is linked to

In /usr/include there's this file:

db.h (4.5)

Without query cache (or db related options) configure,make and make
install is OK.

I've spent some time with this problem but I've no idea what's wrong.


Received on Mon Aug 17 2009 - 21:59:47 PST

This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 22:53:21 PST