Alan Feuerbacher wrote:
On 10/10/2014 7:14 PM, Bruce Dubbs wrote:
Alan Feuerbacher wrote:
I ran into a problem with OpenLDAP-2.4.40: configure complains that the
Berkeley DB version I installed a couple of weeks ago (6.1.19) is
"incompatible with BDB/HDB backends". Looking in config.log I found the
error message: "BerkeleyDB 6.0.20+ license is incompatible with LDAP".
When I installed OpenLDAP-2.4.39 a couple of weeks ago there were no
issues. I compared the configure scripts for 2.4.39 and 2.4.40, and sure
enough, the latter has a check for BerkeleyDB > 6.0.20, and spits out
the above error message when it finds 6.1.19. The version check in
2.4.39 only checks for version > 4.0.
What to do?
Read the current book:
sed -i '/6.0.20/ a\\t__db_version_compat' configure
Thanks, that solved the problem.
Trouble is, that sed is only in the NON-systemd book. I presume it ought
to be in the systemd book as well.
Yes. Christopher?
Curiosity question: How did you guys figure out what to put in that sed
script?
Well first you have to understand what can be done with sed.
View the configure file and look for the error message. Then just force
the script to do the "right thing".
Actually the source of the problem is in build/openldap.m4 lines 557 to
562, but the fix Armin came up with is much faster.
We probably could have passed ol_cv_bdb_compat=yes to configure instead
of the sed, but the results are the same.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page