{"id":19,"date":"2007-09-02T09:49:01","date_gmt":"2007-09-02T01:49:01","guid":{"rendered":"http:\/\/www.sysadmindayph.com\/blog\/?p=19"},"modified":"2007-09-05T10:44:05","modified_gmt":"2007-09-05T02:44:05","slug":"configure-error-bdbhdb-berkeleydb-not-available","status":"publish","type":"post","link":"https:\/\/www.sysadmindayph.com\/blog\/configure-error-bdbhdb-berkeleydb-not-available\/","title":{"rendered":"configure: error: BDB\/HDB: BerkeleyDB not available"},"content":{"rendered":"<p>After <a href=\"http:\/\/www.sysadmindayph.com\/blog\/?p=18\">installing the required prerequisite for OpenLDAP installation<\/a>, I ran into my first error in running the configure script:<\/p>\n<p>&#8230;<\/p>\n<blockquote><p>checking db.h usability&#8230; no<br \/>\nchecking db.h presence&#8230; no<br \/>\nchecking for db.h&#8230; no<br \/>\nconfigure: <strong>error: BDB\/HDB: BerkeleyDB not available<\/strong><\/p><\/blockquote>\n<p>At first, I thought this was just a case of $PATH not set up properly (since \/usr\/local) in not in the path by default). After setting up the path:<\/p>\n<blockquote><p> # echo $PATH<br \/>\n\/usr\/sbin:\/usr\/bin:\/usr\/local\/bin:\/usr\/local\/BerkeleyDB.3.3:\/usr\/local\/BerkeleyDB.3.3\/bin:\/usr\/local\/BerkeleyDB.3.3\/include\/<br \/>\n#<\/p><\/blockquote>\n<p>I still have the error.<\/p>\n<p>I then added the path for the include files in the env<\/p>\n<blockquote><p>env CPPFLAGS=-I\/usr\/local\/Berkeley\/include<\/p><\/blockquote>\n<p>Did the configure and&#8230;<\/p>\n<blockquote><p>checking for db.h&#8230; yes<\/p><\/blockquote>\n<p>That fixed&#8230;<\/p>\n<p>Next error&#8230; \ud83d\ude00<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After installing the required prerequisite for OpenLDAP installation, I ran into my first error in running the configure script: &#8230; checking db.h usability&#8230; no checking db.h presence&#8230; no checking for db.h&#8230; no configure: error: BDB\/HDB: &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,13],"tags":[],"class_list":["post-19","post","type-post","status-publish","format-standard","hentry","category-installation","category-ldap-installation"],"_links":{"self":[{"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/posts\/19","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/comments?post=19"}],"version-history":[{"count":0,"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/posts\/19\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/media?parent=19"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/categories?post=19"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/tags?post=19"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}