<<< Date Index >>>     <<< Thread Index >>>

dbm errors



Trying to build HEAD on OpenBSD. I get this error while running

./prepare --enable-hcache --with-libiconv-prefix=/usr/local --enable-imap

checking for gdbm_open... no
checking for BerkeleyDB > 4.0... no
configure: error: You need QDBM, GDBM or Berkeley DB4 for hcache

Some part of the preparation process failed.
Please refer to doc/devel-notes.txt for details.

I have installed 1.5.X just fine on this system w/ hcache enabled. 
[william@mitch]% pkg_info| grep db
db-4.2.52p1         Berkeley DB package, revision 4
gdbm-1.8.3          GNU dbm
[...]

[william@mitch]% ldd `which mutt` | grep libdb
     000000004fbd0000 00000000502b0000 rlib 0    1   0 
/usr/local/lib/libdb.so.4.2

autoconf is v 2.57.

The relevant bits in config.log
configure:14083: result: no
configure:14096: checking for vlopen in -lqdbm
configure:14127: gcc -o conftest -Wall -pedantic -g -O2   conftest.c -lqdbm   
>&5
/usr/bin/ld: cannot find -lqdbm
collect2: ld returned 1 exit status
configure:14130: $? = 1
configure: failed program was:
| #line 14103 "configure"

Any ideas?

w