Compile error: undefined reference to db_create
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/libopendkim.so: 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-4.5.a
libdb-4.5.la
libdb-4.5.so
libdb-4.6.so
libdb-4.so
libdb.a
libdb.so
libdb.so is linked to libdb-4.5.so.
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.
Thanks.
Seba
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