When installing 2.4.11 on my RH4 box, it configures fine with db4-4.2.52 installed (with bdb support)

...
Making servers/slapd/backends.c
    Add config ...
    Add ldif ...
    Add monitor ...
    Add bdb ...
    Add hdb ...
    Add relay ...
Making servers/slapd/overlays/statover.c
    Add seqmod ...
    Add syncprov ...
Please run "make depend" to build dependencies
[root@rsa01 openldap-2.4.11]# rpm -qa | grep db4
db4-4.2.52-7.1
db4-devel-4.2.52-7.1
[root@rsa01 openldap-2.4.11]# cat /etc/redhat-release
Red Hat Enterprise Linux ES release 4 (Nahant Update 5)
[root@rsa01 openldap-2.4.11]#


But when trying to configure on a RH5 system, I get the BDB incompatible error:

...
checking for Berkeley DB link (-ldb-4.3)... yes
checking for Berkeley DB version match... yes
checking for Berkeley DB thread support... yes
checking Berkeley DB version for BDB/HDB backends... no
configure: error: BDB/HDB: BerkeleyDB version incompatible
[root@kdc01 openldap-2.4.11]# rpm -qa | grep db4
db4-utils-4.3.29-9.fc6
db4-devel-4.3.29-9.fc6
db4-4.3.29-9.fc6
[root@kdc01 openldap-2.4.11]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.2 (Tikanga)
[root@kdc01 openldap-2.4.11]#


Is this an error in the configure script?  Kind of confused.  Thanks for any help.

--
MAT